add failing test

This commit is contained in:
Luke Pulverenti 2017-01-13 23:07:19 -05:00
parent 6e9ab9bf9c
commit 0f7273ec45

View File

@ -40,5 +40,17 @@ namespace MediaBrowser.Tests
Assert.AreEqual("ABC News 04", result[0].Name);
Assert.IsNull(result[0].Number);
}
[TestMethod]
public void TestFormat3()
{
BaseExtensions.CryptographyProvider = new CryptographyProvider();
var result = new M3uParser(new NullLogger(), null, null, null).ParseString("#EXTINF:0, 3.2 - Movies!\nhttp://mystream", "-", "-");
Assert.AreEqual(1, result.Count);
Assert.AreEqual("Movies!", result[0].Name);
Assert.AreEqual("3.2", result[0].Number);
}
}
}