Sha256: c3788f26348cee5b9bbbe5f9edf938d2aa8077f801a64185b4e90550f79cd8ca

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 Bytes

Contents

# encoding: utf-8

module Cri
  class ArgumentArrayTestCase < Cri::TestCase
    def test_initialize
      arr = Cri::ArgumentArray.new(['foo', 'bar', '--', 'baz'])
      assert_equal %w(foo bar baz), arr
      assert_equal ['foo', 'bar', '--', 'baz'], arr.raw
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cri-2.7.0 test/test_argument_array.rb