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.6.12 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.6.11 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.6.10 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.6.9 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.6.8 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.6.7 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.6.6 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.6.5 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.6.4 test/rbbt/util/test_simpleopt.rb
rbbt-util-5.6.3 test/rbbt/util/test_simpleopt.rb