diff options
Diffstat (limited to 'Library/Formula/z80dasm.rb')
| -rw-r--r-- | Library/Formula/z80dasm.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/z80dasm.rb b/Library/Formula/z80dasm.rb index b08455260..1392b8657 100644 --- a/Library/Formula/z80dasm.rb +++ b/Library/Formula/z80dasm.rb @@ -14,8 +14,6 @@ class Z80dasm < Formula path = testpath/"a.bin" path.binwrite [0xcd, 0x34, 0x12].pack("c*") - output = `#{bin}/z80dasm #{path}`.strip - assert output.include?("call 01234h") - assert_equal 0, $?.exitstatus + assert shell_output("#{bin}/z80dasm #{path}").include?("call 01234h") end end |
