Skip to content

Commit

Permalink
fix: flakey test
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Dec 23, 2024
1 parent 81a4a13 commit 31c1d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/schema/schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ module c {
actual, err := ParseString("", input)
assert.NoError(t, err)
actual = Normalise(actual)
assert.Equal(t, []string{"b", "c"}, maps.Keys(actual.ModuleDependencies("a")))
assert.Equal(t, slices.Sort([]string{"b", "c"}), slices.Sort(maps.Keys(actual.ModuleDependencies("a"))))
assert.Equal(t, []string{"c"}, maps.Keys(actual.ModuleDependencies("b")))
assert.Equal(t, []string{}, maps.Keys(actual.ModuleDependencies("c")))

Expand Down

0 comments on commit 31c1d07

Please sign in to comment.