File: null_spec.rb

package info (click to toggle)
ruby-pdf-reader 2.15.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,544 kB
  • sloc: ruby: 11,993; sh: 46; makefile: 11
file content (11 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
# typed: false
# coding: utf-8

describe PDF::Reader::Filter::Null do
  describe "#filter" do
    it "returns the data unchanged" do
      filter = PDF::Reader::Filter::Null.new
      expect(filter.filter("\x00")).to eql("\x00")
    end
  end
end