Sha256: 8f145efe308f1a9820ee439a9744054bfd63a94c517f10e02f3f0b86c7111de2

Contents?: true

Size: 476 Bytes

Versions: 5

Compression:

Stored size: 476 Bytes

Contents

#!/usr/bin/env ruby
require 'test/unit'
require_relative '../../processor/command/base/subsubcmd'

$errors = []
class TestBaseSubCommand < Test::Unit::TestCase

  def test_prefix_set
    Trepanning::SubSubcommand.set_name_prefix('/tmp/show_subcmd/auto_subcmd/food.rb', 
                                           self.class)
    assert_equal('food', NAME, "should have set NAME")
    assert_equal('show auto food', CMD)
    assert_equal(%w(show auto food), PREFIX)
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trepanning-1.93.35 test/unit/test-base-subsubcmd.rb
trepanning-1.93.32 test/unit/test-base-subsubcmd.rb
trepanning-0.1.6 test/unit/test-base-subsubcmd.rb
trepanning-0.1.4 test/unit/test-base-subsubcmd.rb
trepanning-0.1.3 test/unit/test-base-subsubcmd.rb