Skip to content

Commit a05a8c3

Browse files
author
Jason Zhai
committed
Suppress xUnit1004 rule for skipped test
1 parent 7f2807a commit a05a8c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/dotnet-new.IntegrationTests/DotnetNewSearchTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,9 @@ public void CanFilterAuthor(string testCase)
220220
Assert.True(AtLeastOneRowIsNotEmpty(tableOutput, "Downloads"), "'Downloads' column contains empty values");
221221
}
222222

223+
#pragma warning disable xUnit1004
223224
[Theory(Skip = "https://github.com/dotnet/sdk/issues/49123")]
225+
#pragma warning restore xUnit1004
224226
[InlineData("--search --columns author --author micro")]
225227
[InlineData("search --columns author --author micro")]
226228
public void CanFilterAuthor_WithoutName(string testCase)

0 commit comments

Comments
 (0)