Skip to content

Commit

Permalink
#115 test: use sort-object instead of sort so that CommandRunner test…
Browse files Browse the repository at this point in the history
…s dont fail in linux
  • Loading branch information
joseantmazonsb committed Feb 26, 2022
1 parent c385c4d commit 01e3ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Linguard/Core.Test/CommandRunnerShould.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public void RunSingleCommand() {

[Fact]
public void RunPipedCommands() {
var result = new CommandRunner().Run("gci | sort -Property Name");
var result = new CommandRunner().Run("gci | sort-object -Property Name");
result.Success.Should().BeTrue();
result.Stdout.Should().NotBeEmpty();
result.Stderr.Should().BeEmpty();
Expand Down

0 comments on commit 01e3ec1

Please sign in to comment.