test: ensure fixtures are processed in order
This commit is contained in:
parent
1224a5906a
commit
3743866d9f
@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"sort"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
@ -21,6 +22,8 @@ func TestConvertFixtures(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
sort.Strings(fixtures)
|
||||
|
||||
for _, fixture := range fixtures {
|
||||
if !strings.HasSuffix(fixture, `.php`) {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user