Fix test naming convention and remove unnecessary comments
Co-authored-by: StevanFreeborn <65925598+StevanFreeborn@users.noreply.github.com>
This commit is contained in:
co-authored by
StevanFreeborn
parent
662d899196
commit
3656dd7463
@@ -10,12 +10,10 @@ public class DefaultCommandTests
|
|||||||
[InlineData("file_with_underscores.mp4", "file_with_underscores.mp4")]
|
[InlineData("file_with_underscores.mp4", "file_with_underscores.mp4")]
|
||||||
[InlineData("file with spaces.mp4", "file with spaces.mp4")]
|
[InlineData("file with spaces.mp4", "file with spaces.mp4")]
|
||||||
[InlineData("[brackets].mp4", "[[brackets]].mp4")]
|
[InlineData("[brackets].mp4", "[[brackets]].mp4")]
|
||||||
public void EscapeMarkup_ShouldProperlyEscapeSquareBrackets(string input, string expected)
|
public void EscapeMarkup_WhenCalledWithVariousInputs_ItShouldProperlyEscapeSquareBrackets(string input, string expected)
|
||||||
{
|
{
|
||||||
// Act
|
|
||||||
var result = input.EscapeMarkup();
|
var result = input.EscapeMarkup();
|
||||||
|
|
||||||
// Assert
|
|
||||||
result.Should().Be(expected);
|
result.Should().Be(expected);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user