Sha256: 008e9e0ebabfb5c0b344cf28b3fc6c4222368c8061698798fb1d70c33ad27396

Contents?: true

Size: 298 Bytes

Versions: 830

Compression:

Stored size: 298 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')
require 'rbbt/util/simpleopt'
require 'test/unit'

class TestSOPT < Test::Unit::TestCase

  def test_cmd_option_string
    SOPT.parse("-h--help:-to--tsv-options")
    assert_equal "tsv-options", SOPT.shortcuts["to"]
  end
end

Version data entries

830 entries across 830 versions & 1 rubygems

Version Path
rbbt-util-5.34.16 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.15 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.14 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.13 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.12 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.11 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.10 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.9 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.8 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.7 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.5 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.4 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.3 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.2 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.1 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.34.0 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.33.21 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.33.20 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.33.19 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.33.18 test/rbbt/util/test_simpleopt.rb