Skip to content

Commit

Permalink
test/filemagic_test.rb: Updated for libmagic 5.22.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwinter committed Oct 27, 2015
1 parent d911d6f commit 902341c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/filemagic_test.rb
Expand Up @@ -26,7 +26,10 @@ def test_file

if File.symlink?(path_to('pylink'))
res = fm.file(path_to('pylink'))
assert_equal("symbolic link to `pyfile'", res.strip)
assert_equal(match_version(
0 => "symbolic link to `pyfile'",
5.22 => 'symbolic link to pyfile'
), res.strip)
end

fm.close
Expand Down

0 comments on commit 902341c

Please sign in to comment.