mirror of
https://github.com/claunia/plist-cil.git
synced 2025-12-16 19:14:26 +00:00
20 lines
487 B
C#
20 lines
487 B
C#
using System.IO;
|
|
using Claunia.PropertyList;
|
|
using Xunit;
|
|
|
|
namespace plistcil.test
|
|
{
|
|
public class PropertyListParserTests
|
|
{
|
|
static void ParseEmptyStreamTestDelegate()
|
|
{
|
|
using(MemoryStream stream = new MemoryStream()) PropertyListParser.Parse(stream);
|
|
}
|
|
|
|
[Fact]
|
|
public static void ParseEmptyStreamTest()
|
|
{
|
|
Assert.Throws<PropertyListFormatException>(() => ParseEmptyStreamTestDelegate());
|
|
}
|
|
}
|
|
} |