Anons79 Mini Shell

Directory : /opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/test-unit-3.2.7/test/util/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/test-unit-3.2.7/test/util/test-output.rb

require 'test/unit'

class TestUnitOutput < Test::Unit::TestCase
  def test_capture_output
    assert_equal(["stdout\n", "stderr\n"],
                 capture_output do
                   puts("stdout")
                   warn("stderr")
                 end)
  end
end

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]