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.43.0 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.42.0 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.41.1 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.41.0 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.40.5 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.40.4 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.40.3 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.40.0 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.39.0 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.38.1 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.38.0 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.37.16 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.37.15 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.37.14 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.37.13 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.37.12 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.37.11 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.37.10 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.37.9 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.37.8 test/rbbt/util/test_simpleopt.rb