Skip to content

Commit

Permalink
remove unecessary print calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jairo-litman committed Feb 22, 2024
1 parent ee8f666 commit 92812c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions parser/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1354,8 +1354,6 @@ func TestPostfixOperator(t *testing.T) {
program := p.ParseProgram()
checkParserErrors(t, p)

println(program.String())

stmt, ok := program.Statements[0].(*ast.ExpressionStatement)
if !ok {
t.Fatalf("stmt not *ast.ExpressionStatement. got=%T", program.Statements[0])
Expand Down
2 changes: 0 additions & 2 deletions vm/vm_test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ func runVmTests(t *testing.T, tests []vmTestCase) {
t.Fatalf("compiler error: %s", err)
}

println(program.String())

vm := New(comp.Bytecode())

err = vm.Run()
Expand Down

0 comments on commit 92812c5

Please sign in to comment.