This ports TestAstFunc2 from our home-grown content storage system to the txtar package. Since a single file can be used to represent the entire folder hierarchy, this makes it much easier to see and edit tests.
5 lines
138 B
Plaintext
5 lines
138 B
Plaintext
-- main.mcl --
|
|
$d []struct{x int;x float}
|
|
-- OUTPUT --
|
|
# err: errLexParse: parser: `syntax error: unexpected $end, expecting EQUALS` @1:6
|