From 825ef1e149516b29868691a279016097c8efc5a2 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 12 Jun 2017 09:26:45 +0100 Subject: [PATCH] hashpump: don't use %x. --- Formula/hashpump.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/hashpump.rb b/Formula/hashpump.rb index 69bfaa85dfa..c1aab62035e 100644 --- a/Formula/hashpump.rb +++ b/Formula/hashpump.rb @@ -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