Skip to content

Commit

Permalink
Changes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jcieslak committed Aug 16, 2024
1 parent dc6317b commit b26d5fc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/sdk/testint/external_functions_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,14 @@ func TestInt_ExternalFunctions(t *testing.T) {
require.NoError(t, err)

require.NotEmpty(t, e.CreatedOn)
require.Equal(t, id.Name(), e.Name)
require.Equal(t, id.SchemaName(), e.SchemaName)
require.Equal(t, id, e.ID())
require.Equal(t, false, e.IsBuiltin)
require.Equal(t, false, e.IsAggregate)
require.Equal(t, false, e.IsAnsi)
if len(id.ArgumentDataTypes()) > 0 {
require.NotEmpty(t, e.Arguments)
require.Equal(t, 1, e.MinNumArguments)
require.Equal(t, 1, e.MaxNumArguments)
} else {
require.Empty(t, e.Arguments)
require.Equal(t, 0, e.MinNumArguments)
require.Equal(t, 0, e.MaxNumArguments)
}
Expand Down

0 comments on commit b26d5fc

Please sign in to comment.