Method: Treebis::Test::TestPatch#test_unexpected_string_from_patch
- Defined in:
- lib/treebis.rb
#test_unexpected_string_from_patch ⇒ Object
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 |
# File 'lib/treebis.rb', line 1314 def test_unexpected_string_from_patch out, err, res = capture3 do task.new do pretty_puts_apply("i am another string", []) nil end.on(empty_tmpdir("blah")).run end assert_equal [nil, ""], [res, out] assert err.index("i am another string") end |