Sha256: 5027d1eda3698e4b13837534fc65e3090b681ff8fa2101305d48738c532d9265

Contents?: true

Size: 298 Bytes

Versions: 102

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
    assert_equal("--tsv-options", SOPT.parse("-h--help:-to--tsv-options")["tsv-options"][:long])
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
rbbt-util-1.1.0 test/rbbt/util/test_simpleopt.rb
rbbt-util-1.0.1 test/rbbt/util/test_simpleopt.rb