Skip to content

Commit

Permalink
Comment println instead of delete it.
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
  • Loading branch information
ajnavarro committed Jul 25, 2023
1 parent f09b1e4 commit e66ccb5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnovm/tests/imports.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ func TestStore(rootDir, filesPath string, stdin io.Reader, stdout, stderr io.Wri
pkg.DefineGoNativeType(reflect.TypeOf((*fmt.Stringer)(nil)).Elem())
pkg.DefineGoNativeType(reflect.TypeOf((*fmt.Formatter)(nil)).Elem())
pkg.DefineGoNativeValue("Println", func(a ...interface{}) (n int, err error) {
// NOTE: uncomment to debug long running tests
// fmt.Println(a...)
res := fmt.Sprintln(a...)
return stdout.Write([]byte(res))
})
Expand Down

0 comments on commit e66ccb5

Please sign in to comment.