Browse Source

Update the test runner to use the new parser interface.

pull/1/head
triton 13 years ago
parent
commit
d7ce1efdd0
  1. 2
      src/Generator.Tests/HeaderTestFixture.cs

2
src/Generator.Tests/HeaderTestFixture.cs

@ -30,7 +30,7 @@ namespace Generator.Tests @@ -30,7 +30,7 @@ namespace Generator.Tests
var parser = new Parser(options);
var result = parser.ParseHeader(file);
if (!result.Success)
if (result.Kind != ParserResultKind.Success)
throw new Exception("Could not parse file: " + file);
library = result.Library;

Loading…
Cancel
Save