Adapt tests to new friendly errors and correct line numbers

0.6.0-stable
Melanie Thielker 2008-10-07 22:25:55 +00:00
parent 638cce09d1
commit 8d2ec1ac71
1 changed files with 2 additions and 2 deletions

View File

@ -1564,7 +1564,7 @@ default
{
// The syntax error is on line 6, char 5 (expected ';', found
// '}').
Assert.AreEqual("Line (5,4) Line 6, char 5: syntax error", e.Message);
Assert.AreEqual("Line (4,4) syntax error", e.Message);
throw;
}
}
@ -1589,7 +1589,7 @@ default
catch (System.Exception e)
{
// The syntax error is on line 5, char 14 (Syntax error)
Assert.AreEqual("Line (4,13) Line 5, char 14: syntax error", e.Message);
Assert.AreEqual("Line (3,13) syntax error", e.Message);
throw;
}