Sha256: 36f3797a0769ff72f70aa8df701cc0320fdd327aa48f0a6fac95ceceb61bae5f

Contents?: true

Size: 359 Bytes

Versions: 8

Compression:

Stored size: 359 Bytes

Contents

require_relative "../spec_helper"

require "cute_print/format/inspect"

module CutePrint
  module Format
    describe Inspect do

      let(:width) { 80 }
      let(:value) { (1..5).to_a }
      subject { Inspect.new.format(width, value) }
      specify do
        expect(subject).to eq [
          "[1, 2, 3, 4, 5]\n",
        ]
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cute_print-1.1.4 spec/format/inspect_spec.rb
cute_print-1.1.3 spec/format/inspect_spec.rb
cute_print-1.1.2 spec/format/inspect_spec.rb
cute_print-1.1.1 spec/format/inspect_spec.rb
cute_print-1.1.0 spec/format/inspect_spec.rb
cute_print-1.0.1 spec/format/inspect_spec.rb
cute_print-1.0.0 spec/format/inspect_spec.rb
cute_print-0.4.0 spec/format/inspect_spec.rb