Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
Souravgoswami committed Sep 6, 2021
1 parent e88b1c5 commit db42fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/libmagic_rb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def self.get() @c.rotate![0] end
cookie.close
end

it "#{Bullet.get} can change modes on the fly" do
it "#{Bullet.get} can change modes with mode= attribute writer" do
cookie = LibmagicRb.new(file: ?.)
expect(cookie.check).to be == "inode/directory; charset=binary"

Expand All @@ -89,7 +89,7 @@ def self.get() @c.rotate![0] end
end

# Magic Buffer
it "#{Bullet.get} can change modes on the fly" do
it "#{Bullet.get} can check a string as magic buffer" do
cookie = LibmagicRb.new(file: ?.)

buf = cookie.magic_buffer("%PDF-1.3\r\n")
Expand Down

0 comments on commit db42fdd

Please sign in to comment.