aboutsummaryrefslogtreecommitdiff
path: root/file_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'file_test.go')
-rw-r--r--file_test.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/file_test.go b/file_test.go
index 218da39..1f39988 100644
--- a/file_test.go
+++ b/file_test.go
@@ -1,6 +1,9 @@
package main
-import "testing"
+import (
+ "bytes"
+ "testing"
+)
var tc = []string{
"testcases/dim13.sec",
@@ -15,5 +18,8 @@ func TestParseFile(t *testing.T) {
t.Error(err)
}
t.Log(f)
+ buf := new(bytes.Buffer)
+ f.Encode(buf)
+ t.Logf("%v", buf.String())
}
}