Skip to content

Commit 738651f

Browse files
Remove trailing whitespace from test file to fix StyleCop warnings
Co-authored-by: surgupta-msft <[email protected]>
1 parent 99649c1 commit 738651f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/Cli/Func.UnitTests/ParserTests/GitIgnoreParserTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,16 +202,16 @@ public void PowerShellModuleBinFoldersShouldBeHandledCorrectly()
202202
__azurite_db*__.json";
203203

204204
var currentParser = new GitIgnoreParser(currentGitIgnore);
205-
205+
206206
// These paths should be ignored (regular bin folders)
207207
currentParser.Denies("bin/somefile.dll").Should().BeTrue();
208208
currentParser.Denies("src/bin/output.dll").Should().BeTrue();
209-
209+
210210
// These PowerShell module paths are currently being ignored but shouldn't be
211211
// This demonstrates the current problem
212212
currentParser.Denies("Modules/Az.Storage/8.1.0/Storage.Autorest/bin/Az.Storage.private.dll").Should().BeTrue("Current implementation incorrectly ignores PowerShell module bin files");
213213
currentParser.Denies("Modules/SomeModule/1.0.0/bin/Module.dll").Should().BeTrue("Current implementation incorrectly ignores PowerShell module bin files");
214-
214+
215215
// Non-bin files in modules should not be ignored
216216
currentParser.Denies("Modules/Az.Accounts/2.0.0/lib/netstandard2.0/Microsoft.Azure.dll").Should().BeFalse();
217217
}
@@ -272,15 +272,15 @@ public void PowerShellModuleBinFoldersShouldNotBeIgnoredWithUpdatedGitIgnore()
272272
__azurite_db*__.json";
273273

274274
var updatedParser = new GitIgnoreParser(updatedGitIgnore);
275-
275+
276276
// Regular bin folders should still be ignored
277277
updatedParser.Denies("bin/somefile.dll").Should().BeTrue();
278278
updatedParser.Denies("src/bin/output.dll").Should().BeTrue();
279-
279+
280280
// PowerShell module bin folders should NOT be ignored (this is the fix)
281281
updatedParser.Denies("Modules/Az.Storage/8.1.0/Storage.Autorest/bin/Az.Storage.private.dll").Should().BeFalse("PowerShell module bin files should not be ignored");
282282
updatedParser.Denies("Modules/SomeModule/1.0.0/bin/Module.dll").Should().BeFalse("PowerShell module bin files should not be ignored");
283-
283+
284284
// Non-bin files in modules should still not be ignored
285285
updatedParser.Denies("Modules/Az.Accounts/2.0.0/lib/netstandard2.0/Microsoft.Azure.dll").Should().BeFalse();
286286
}

0 commit comments

Comments
 (0)