1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Add test for Issue 343

This commit is contained in:
Conrad Irwin 2011-11-26 00:37:47 -08:00
parent 9ea5b371e0
commit 7fe9fc1fd5

View file

@ -7,6 +7,7 @@ describe Pry do
["p = <<FOO", "lots", "and", "lots of", "foo", "FOO"], ["p = <<FOO", "lots", "and", "lots of", "foo", "FOO"],
["[", ":lets,", "'list',", "[/nested/", "], things ]"], ["[", ":lets,", "'list',", "[/nested/", "], things ]"],
["abc =~ /hello", "/"], ["abc =~ /hello", "/"],
["issue = %W/", "343/"],
["pouts(<<HI, 'foo", "bar", "HI", "baz')"], ["pouts(<<HI, 'foo", "bar", "HI", "baz')"],
].each do |foo| ].each do |foo|
it "should not raise an error on broken lines: #{foo.join("\\n")}" do it "should not raise an error on broken lines: #{foo.join("\\n")}" do