bgrep: fix closing array brace position.

This commit is contained in:
Miguel Araújo 2016-08-04 07:12:57 -03:00 committed by Mike McQuaid
parent 0a2923dbb2
commit 713ab84ded

View file

@ -20,8 +20,7 @@ class Bgrep < Formula
test do
path = testpath/"hi.prg"
path.binwrite [0x00, 0xc0, 0xa9, 0x48, 0x20, 0xd2, 0xff,
0xa9, 0x49, 0x20, 0xd2, 0xff, 0x60
].pack("C*")
0xa9, 0x49, 0x20, 0xd2, 0xff, 0x60].pack("C*")
assert_equal "#{path}: 00000004\n#{path}: 00000009\n",
shell_output("#{bin}/bgrep 20d2ff #{path}")