Sha256: d6e5dcb247585ad2b2a858abc4a2e9fe8b9ad58bdaac5309c41727e1b5f1715f
Contents?: true
Size: 523 Bytes
Versions: 10
Compression:
Stored size: 523 Bytes
Contents
#!/usr/bin/env ruby require 'test/unit' require 'rubygems'; require 'require_relative' 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
10 entries across 10 versions & 2 rubygems