Sha256: b894af2661007d4fac511b55fdec6d7a35a04a6f0fff89c3bbf8eb42ab2d81a6
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/more/command.rb # # Extracted Fri Sep 08 20:20:32 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/more/command.rb' require 'test/unit' class TCCommand < Test::Unit::TestCase class MyCmd < Console::Command def _x ; $X = true ; end def _y ; $Y = true ; end def go ; $output = [$X, $Y] ; end end MyCmd.execute( '-x', '-y', 'go' ) def test_001 assert_equal( [true, true], $output ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.7.46 | test/lib/facets/more/test_command.rb |