Skip to content

Commit

Permalink
Fix the order for the shell output assert matching
Browse files Browse the repository at this point in the history
  • Loading branch information
vanyauhalin committed Apr 18, 2023
1 parent 736d408 commit 781f5ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/osub.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ def install
end

test do
assert_match shell_output("#{bin}/osub version").strip, "0.3.0"
assert_match "0.3.0", shell_output("#{bin}/osub version").strip
resource("hash-fixture").stage do
assert_match shell_output("#{bin}/osub hash file").strip, "c97e8b1573a25396"
assert_match "c97e8b1573a25396", shell_output("#{bin}/osub hash file").strip
end
end
end

0 comments on commit 781f5ac

Please sign in to comment.