Files
plist-cil/plist-cil.test/PropertyListParserTests.cs

20 lines
466 B
C#
Raw Normal View History

2018-07-09 19:57:08 +01:00
using System.IO;
using Claunia.PropertyList;
2017-03-16 23:37:42 +01:00
using Xunit;
namespace plistcil.test
{
public class PropertyListParserTests
{
2018-07-09 19:57:08 +01:00
static void ParseEmptyStreamTestDelegate()
{
using var stream = new MemoryStream();
PropertyListParser.Parse(stream);
}
2018-07-09 19:57:08 +01:00
[Fact]
public static void ParseEmptyStreamTest() =>
Assert.Throws<PropertyListFormatException>(ParseEmptyStreamTestDelegate);
}
2018-07-09 19:57:08 +01:00
}