hashpump: don't use %x.

master
Mike McQuaid 2017-06-12 09:26:45 +01:00
parent b211145d86
commit 825ef1e149
1 changed files with 2 additions and 2 deletions

View File

@ -38,9 +38,9 @@ class Hashpump < Formula
end
test do
output = %x(#{bin}/hashpump -s '6d5f807e23db210bc254a28be2d6759a0f5f5d99' \\
output = `#{bin}/hashpump -s '6d5f807e23db210bc254a28be2d6759a0f5f5d99' \\
-d 'count=10&lat=37.351&user_id=1&long=-119.827&waffle=eggo' \\
-a '&waffle=liege' -k 14)
-a '&waffle=liege' -k 14`
assert_match /0e41270260895979317fff3898ab85668953aaa2/, output
assert_match /&waffle=liege/, output
assert_equal 0, $?.exitstatus