We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cc92a2 commit 73a6f54Copy full SHA for 73a6f54
test/Microsoft.Framework.FileSystemGlobbing.Tests/FunctionalTests.cs
@@ -28,12 +28,15 @@ public void Dispose()
28
}
29
30
31
- [Fact]
32
- public void DuplicatePatterns()
+ [Theory]
+ [InlineData("sub/source2.cs", "sub/source2.cs")]
33
+ [InlineData("sub\\source2.cs", "sub\\source2.cs")]
34
+ [InlineData("sub/source2.cs", "sub\\source2.cs")]
35
+ public void DuplicatePatterns(string pattern1, string pattern2)
36
{
37
var matcher = new Matcher();
- matcher.AddInclude("sub/source2.cs");
38
+ matcher.AddInclude(pattern1);
39
+ matcher.AddInclude(pattern2);
40
41
ExecuteAndVerify(matcher, @"src/project",
42
"src/project/sub/source2.cs");
0 commit comments