From 6fe69a3fd71431b358ce4bfcf445f3b3092e1a47 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 15 Mar 2015 16:14:54 +0000 Subject: mobiledevice: simplify test. --- Library/Formula/mobiledevice.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/mobiledevice.rb b/Library/Formula/mobiledevice.rb index 13fe72b76..f415a492c 100644 --- a/Library/Formula/mobiledevice.rb +++ b/Library/Formula/mobiledevice.rb @@ -15,8 +15,6 @@ class Mobiledevice < Formula end test do - cur_version = shell_output("#{bin}/mobiledevice version").strip - assert_match "#{version}", cur_version - system("#{bin}/mobiledevice list_devices") + system "#{bin}/mobiledevice", "list_devices" end end -- cgit v1.2.3