From a165a481853a0e309b3114345864ca3e3a4ebfcc Mon Sep 17 00:00:00 2001 From: Konrad Jamrozik Date: Wed, 1 Feb 2023 15:56:42 -0800 Subject: [PATCH] fix UTs --- .../CodeownersFileTests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/code-owners-parser/Azure.Sdk.Tools.CodeOwnersParser.Tests/CodeownersFileTests.cs b/tools/code-owners-parser/Azure.Sdk.Tools.CodeOwnersParser.Tests/CodeownersFileTests.cs index acc3ca06d43..604df1a193f 100644 --- a/tools/code-owners-parser/Azure.Sdk.Tools.CodeOwnersParser.Tests/CodeownersFileTests.cs +++ b/tools/code-owners-parser/Azure.Sdk.Tools.CodeOwnersParser.Tests/CodeownersFileTests.cs @@ -83,8 +83,8 @@ public class CodeownersFileTests new( "/a" , "*" , false , false ), new( "/*" , "*" , true , false ), new( "/*" , "a" , false , true ), - new( "/*" , "a/" , false , false ), - new( "/*" , "a/b" , false , false ), + new( "/*" , "a/" , false , true ), + new( "/*" , "a/b" , false , true ), new( "/*" , "[" , false , true ), new( "/*" , "]" , false , true ), new( "/*" , "!" , false , true ), @@ -114,8 +114,8 @@ public class CodeownersFileTests new( "/a/*" , "a" , false , false ), new( "/a/*" , "a/" , false , true ), new( "/a/*" , "a/b" , false , true ), - new( "/a/*" , "a/b/" , false , false ), - new( "/a/*" , "a/b/c" , false , false ), + new( "/a/*" , "a/b/" , false , true ), + new( "/a/*" , "a/b/c" , false , true ), new( "/a/*/" , "a" , false , false ), new( "/a/*/" , "a/" , false , false ), new( "/a/*/" , "a/b" , false , false ), @@ -168,7 +168,7 @@ public class CodeownersFileTests new( "**/*.md" , "a/b.md/x.md" , false , false ), new( "/*.md" , "a/md" , false , false ), new( "/a.*" , "a.b" , false , true ), - new( "/a.*" , "a.b/" , false , false ), + new( "/a.*" , "a.b/" , false , true ), new( "/a.*" , "x/a.b/" , false , false ), new( "/a.*/" , "a.b" , false , false ), new( "/a.*/" , "a.b/" , false , true ),