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

19 lines
420 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;
2025-08-07 22:31:12 +01:00
namespace plistcil.test;
public class PropertyListParserTests
{
2025-08-07 22:31:12 +01:00
static void ParseEmptyStreamTestDelegate()
{
2025-08-07 22:31:12 +01:00
using var stream = new MemoryStream();
2025-08-07 22:31:12 +01:00
PropertyListParser.Parse(stream);
}
2025-08-07 22:31:12 +01:00
[Fact]
public static void ParseEmptyStreamTest() =>
Assert.Throws<PropertyListFormatException>(ParseEmptyStreamTestDelegate);
2018-07-09 19:57:08 +01:00
}