Skip to content

Commit

Permalink
tests: Add missing newline to "inputs:" printf
Browse files Browse the repository at this point in the history
If this is missing, the test runner output gets messed up, breaking
tools like gotestsum.
  • Loading branch information
karlb committed Apr 12, 2023
1 parent 68e540a commit 4954f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/testutil/basic_tests.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TestReturnsDefaultOnFailingRunner(t *testing.T, defaultValue interface{}, f
fnValue := reflect.ValueOf(fn)

argsValues := vmRunnerArguments(FailingVmRunner{}, args...)
fmt.Printf("inputs: %v", argsValues)
fmt.Printf("inputs: %v\n", argsValues)
outs := fnValue.Call(argsValues)

retValue := outs[0].Interface()
Expand Down

0 comments on commit 4954f15

Please sign in to comment.