The following test needs to be skipped since it fails in Travis CI env (no exception is thrown).
[Fact(Skip ="No exception is thrown in Linux (CI env)")]
void IOException()
{
string fileName = "Any.txt";
StreamWriter writer = new StreamWriter(fileName);
using (writer)
{
Assert.Throws<IOException>(() => FileReader.Parse(fileName));
}
}
If no way of forcing IOException in Linux is found, test would better be deleted.