(t *testing.T)
| 28 | } |
| 29 | |
| 30 | func TestCompileCheckerError(t *testing.T) { |
| 31 | c := makeCompiler(t) |
| 32 | r := strings.NewReader(`// { |
| 33 | i++ |
| 34 | }`) |
| 35 | _, err := c.Compile("test", r) |
| 36 | if err == nil { |
| 37 | t.Error("expected error, got nil") |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | func TestCompileCodegen(t *testing.T) { |
| 42 | c := makeCompiler(t) |
nothing calls this directly
no test coverage detected