Adapt tests to new friendly errors and correct line numbers
parent
638cce09d1
commit
8d2ec1ac71
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue