aboutsummaryrefslogtreecommitdiff
path: root/compiler/compiler_test.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler/compiler_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/compiler_test.go b/compiler/compiler_test.go
index 456920f..2534d9f 100644
--- a/compiler/compiler_test.go
+++ b/compiler/compiler_test.go
@@ -85,7 +85,7 @@ func TestCompile(t *testing.T) {
if err != nil {
t.Fatalf("%v", err)
}
- clspec, err := Compile(lspec)
+ clspec, err, _ := Compile(lspec)
if tt.Err {
if err == nil {
t.Fatalf("expected an error")
@@ -95,7 +95,7 @@ func TestCompile(t *testing.T) {
}
} else {
if err != nil {
- t.Fatalf("unexpected error")
+ t.Fatalf("unexpected error: %v", err)
}
if clspec == nil {
t.Fatalf("Compile function must return a compiled specification")