ir,build: pragma support (#97)
Adds support for arbitrary compiler directives. Fixes #15
This commit is contained in:
committed by
GitHub
parent
0bcbe82731
commit
c8004ba627
@@ -15,6 +15,7 @@ func AssertPrintsLines(t *testing.T, ctx *build.Context, pb printer.Builder, exp
|
||||
lines := strings.Split(output, "\n")
|
||||
|
||||
if len(expect) != len(lines) {
|
||||
t.Logf("output:\n%s", output)
|
||||
t.Fatalf("have %d lines of output; expected %d", len(lines), len(expect))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user