jxrlib: brew style --fix

This commit is contained in:
Mike McQuaid 2019-10-15 09:00:32 +01:00
parent daae8535fb
commit e143ef9150
No known key found for this signature in database
GPG key ID: 48A898132FD8EE70

View file

@ -26,7 +26,7 @@ class Jxrlib < Formula
end
test do
bmp = "Qk06AAAAAAAAADYAAAAoAAAAAQAAAAEAAAABABgAAAAAAAQAAADDDgAAww4AAAAAAAAAAAAA////AA==".unpack("m")[0]
bmp = "Qk06AAAAAAAAADYAAAAoAAAAAQAAAAEAAAABABgAAAAAAAQAAADDDgAAww4AAAAAAAAAAAAA////AA==".unpack1("m")
infile = "test.bmp"
outfile = "test.jxr"
File.open(infile, "wb") { |f| f.write bmp }