You've already forked linux-packaging-mono
Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
This commit is contained in:
parent
ee1447783b
commit
94b2861243
@@ -58,11 +58,9 @@ namespace MonoTests.Microsoft.Build.Construction
|
||||
ProjectRootElement.Create (XmlReader.Create (new StringReader (" <root/>")));
|
||||
Assert.Fail ("should throw InvalidProjectFileException");
|
||||
} catch (InvalidProjectFileException ex) {
|
||||
#if NET_4_5
|
||||
Assert.AreEqual (1, ex.LineNumber, "#1");
|
||||
// it is very interesting, but unlike XmlReader.LinePosition it returns the position for '<'.
|
||||
Assert.AreEqual (2, ex.ColumnNumber, "#2");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,11 +100,9 @@ namespace MonoTests.Microsoft.Build.Construction
|
||||
ProjectRootElement.Create (xml);
|
||||
Assert.Fail ("should throw InvalidProjectFileException");
|
||||
} catch (InvalidProjectFileException ex) {
|
||||
#if NET_4_5
|
||||
Assert.AreEqual (1, ex.LineNumber, "#1");
|
||||
// unlike unexpected element case which returned the position for '<', it does return the name start char...
|
||||
Assert.AreEqual (70, ex.ColumnNumber, "#2");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user