Sha256: 36eddc9b93b1554f9d7d65e63ee29df699adda5bdfe7832fada747b9acd7aebc
Contents?: true
Size: 277 Bytes
Versions: 4
Compression:
Stored size: 277 Bytes
Contents
require 'helper' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cri-2.10.1 | test/test_argument_array.rb |
cri-2.10.0 | test/test_argument_array.rb |
cri-2.9.1 | test/test_argument_array.rb |
cri-2.9.0 | test/test_argument_array.rb |