aboutsummaryrefslogtreecommitdiff
path: root/driver/parser_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'driver/parser_test.go')
-rw-r--r--driver/parser_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/driver/parser_test.go b/driver/parser_test.go
index f11a46a..2954ca2 100644
--- a/driver/parser_test.go
+++ b/driver/parser_test.go
@@ -2,6 +2,7 @@ package driver
import (
"fmt"
+ "os"
"strings"
"testing"
@@ -271,9 +272,9 @@ foo: "foo";
}
fmt.Println("CST:")
- PrintTree(p.CST(), 0)
+ PrintTree(os.Stdout, p.CST())
fmt.Println("AST:")
- PrintTree(p.AST(), 0)
+ PrintTree(os.Stdout, p.AST())
})
}
}