зеркало из https://github.com/stride3d/SharpYaml.git
Fix failing unit test.
This commit is contained in:
Родитель
4d55f12699
Коммит
0d9b5a45bd
|
@ -780,7 +780,7 @@ namespace YamlDotNet.UnitTests.RepresentationModel
|
||||||
string serialized = writer.ToString();
|
string serialized = writer.ToString();
|
||||||
|
|
||||||
// Ensure serialisation is correct
|
// Ensure serialisation is correct
|
||||||
Assert.Equal("fourthTest: Fourth", serialized);
|
Assert.Equal("fourthTest: Fourth", serialized.TrimEnd('\r', '\n'));
|
||||||
|
|
||||||
var deserializer = new YamlSerializer<ConventionTest>();
|
var deserializer = new YamlSerializer<ConventionTest>();
|
||||||
var output = deserializer.Deserialize(new StringReader(serialized));
|
var output = deserializer.Deserialize(new StringReader(serialized));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче