pull/1192/head 2.42.7
Tyrrrz 10 months ago
parent 014712b747
commit 9b8985a920

@ -1,4 +1,5 @@
using System.IO;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using CliFx.Infrastructure;
@ -37,7 +38,7 @@ public class FilterSpecs
.EnumerateArray()
.Select(j => j.GetProperty("content").GetString())
.Should()
.AllBe("Some random text");
.AllSatisfy(c => c.Contains("Some random text", StringComparison.Ordinal));
}
[Fact]
@ -87,7 +88,7 @@ public class FilterSpecs
.EnumerateArray()
.Select(j => j.GetProperty("content").GetString())
.Should()
.AllBe("This has image");
.AllSatisfy(c => c.Contains("This has image", StringComparison.Ordinal));
}
[Fact]
@ -112,7 +113,7 @@ public class FilterSpecs
.EnumerateArray()
.Select(j => j.GetProperty("content").GetString())
.Should()
.AllBe("This is pinned");
.AllSatisfy(c => c.Contains("This is pinned", StringComparison.Ordinal));
}
[Fact]
@ -137,7 +138,7 @@ public class FilterSpecs
.EnumerateArray()
.Select(j => j.GetProperty("content").GetString())
.Should()
.AllBe("This has invite");
.AllSatisfy(c => c.Contains("This has invite", StringComparison.Ordinal));
}
[Fact]
@ -162,6 +163,6 @@ public class FilterSpecs
.EnumerateArray()
.Select(j => j.GetProperty("content").GetString())
.Should()
.AllBe("This has mention");
.AllSatisfy(c => c.Contains("This has mention", StringComparison.Ordinal));
}
}

@ -238,6 +238,6 @@ public class HtmlEmbedSpecs
);
// Assert
message.Text().Should().Contain("DiscordChatExporter TestServer");
message.Text().Should().Contain("DiscordChatExporter Test Server");
}
}

Loading…
Cancel
Save