Sha256: c49ee5dbbfceba43a476cc7270e8de5bc5064c71419b7c5474c3e664a416c143
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
module Cri class BasicRootTestCase < Cri::TestCase def test_run_with_help cmd = Cri::Command.new_basic_root stdout, _stderr = capture_io_while do assert_raises SystemExit do cmd.run(%w(-h)) end end assert stdout =~ /COMMANDS.*\n.*help.*show help/ end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cri-2.7.1 | test/test_basic_root.rb |