Skip to content

Commit

Permalink
do not check ordering of watch list
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Oct 7, 2024
1 parent 07d9aac commit 96f8bba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/buildengine/languageplugin/go_plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import (
"reflect"
"testing"

"github.com/TBD54566975/ftl/internal/slices"

"github.com/TBD54566975/ftl/internal/moduleconfig"
"github.com/alecthomas/assert/v2"
)
Expand Down Expand Up @@ -96,6 +98,8 @@ func TestGoConfigDefaults(t *testing.T) {
defaults, err := plugin.ModuleConfigDefaults(ctx, dir)
assert.NoError(t, err)

defaults.Watch = slices.Sort(defaults.Watch)
tt.expected.Watch = slices.Sort(tt.expected.Watch)
assert.Equal(t, tt.expected, defaults)
})
}
Expand Down

0 comments on commit 96f8bba

Please sign in to comment.