Sha256: f6d5b86b4e2d3d9c731d8e8248bdb6320093c010b20f96ccd8e8754d79cd8034
Contents?: true
Size: 607 Bytes
Versions: 4
Compression:
Stored size: 607 Bytes
Contents
require_relative "test_helper" class TerminalTest < MiniTest::Test include TestHelper def test_handles_nil @wrapper = GLI::Commands::HelpModules::VerbatimWrapper.new(rand(100),rand(100)) @result = @wrapper.wrap(nil) assert_equal '',@result end def test_does_not_touch_input @wrapper = GLI::Commands::HelpModules::VerbatimWrapper.new(rand(100),rand(100)) @input = <<EOS |This is|an ASCII|table| +-------+--------+-----+ | foo | bar | baz | +-------+--------+-----+ EOS @result = @wrapper.wrap(@input) assert_equal @input,@result end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gli-2.21.1 | test/unit/verbatim_wrapper_test.rb |
gli-2.21.0 | test/unit/verbatim_wrapper_test.rb |
gli-2.20.1 | test/unit/verbatim_wrapper_test.rb |
gli-2.20.0 | test/unit/verbatim_wrapper_test.rb |