Files
plist-cil/plist-cil.test/PropertyListParserTests.cs
Frederik Carlier d9670db803 Migrate to xUnit
2017-03-16 23:37:42 +01:00

24 lines
533 B
C#

using Claunia.PropertyList;
using Xunit;
using System.IO;
namespace plistcil.test
{
public class PropertyListParserTests
{
[Fact]
public static void ParseEmptyStreamTest()
{
Assert.Throws<PropertyListFormatException>(() => ParseEmptyStreamTestDelegate());
}
static void ParseEmptyStreamTestDelegate()
{
using (MemoryStream stream = new MemoryStream())
{
PropertyListParser.Parse(stream);
}
}
}
}