Skip to content

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Oct 24, 2023
1 parent 06c7664 commit 20e1fa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/predeclaredvalues_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,8 @@ func TestRuntimePredeclaredTypeWithInjectedFunctions(t *testing.T) {
// Run script

scriptEnvironment := NewScriptInterpreterEnvironment(Config{})
scriptEnvironment.DeclareValue(xConstructorDeclaration)
scriptEnvironment.DeclareType(xTypeDeclaration)
scriptEnvironment.DeclareValue(xConstructorDeclaration, nil)
scriptEnvironment.DeclareType(xTypeDeclaration, nil)
scriptEnvironment.SetCompositeValueFunctionsHandler(
xType.ID(),
func(
Expand Down

0 comments on commit 20e1fa8

Please sign in to comment.