From d7ce1efdd09c3390a906f846f54c7516b036272c Mon Sep 17 00:00:00 2001 From: triton Date: Sat, 23 Feb 2013 22:14:10 +0000 Subject: [PATCH] Update the test runner to use the new parser interface. --- src/Generator.Tests/HeaderTestFixture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator.Tests/HeaderTestFixture.cs b/src/Generator.Tests/HeaderTestFixture.cs index 346ddcf9..1df3dc3c 100644 --- a/src/Generator.Tests/HeaderTestFixture.cs +++ b/src/Generator.Tests/HeaderTestFixture.cs @@ -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;