diff options
-rw-r--r-- | bootstraptest/test_io.rb | 18 | ||||
-rw-r--r-- | bootstraptest/test_marshal.rb | 10 |
2 files changed, 14 insertions, 14 deletions
diff --git a/bootstraptest/test_io.rb b/bootstraptest/test_io.rb index 8cd2730c6..4368dea10 100644 --- a/bootstraptest/test_io.rb +++ b/bootstraptest/test_io.rb @@ -1,9 +1,9 @@ -assert_finish 1, %q{
- r, w = IO.pipe
- t1 = Thread.new { r.sysread(1) }
- t2 = Thread.new { r.sysread(1) }
- sleep 0.1
- w.write "a"
- sleep 0.1
- w.write "a"
-}, '[ruby-dev:31866]'
+assert_finish 1, %q{ + r, w = IO.pipe + t1 = Thread.new { r.sysread(1) } + t2 = Thread.new { r.sysread(1) } + sleep 0.1 + w.write "a" + sleep 0.1 + w.write "a" +}, '[ruby-dev:31866]' diff --git a/bootstraptest/test_marshal.rb b/bootstraptest/test_marshal.rb index ef406bba1..ecbcb60c9 100644 --- a/bootstraptest/test_marshal.rb +++ b/bootstraptest/test_marshal.rb @@ -1,5 +1,5 @@ -
-assert_normal_exit %q{
- Marshal.load(Marshal.dump({"k"=>"v"}), lambda {|v| })
-}
-
+ +assert_normal_exit %q{ + Marshal.load(Marshal.dump({"k"=>"v"}), lambda {|v| }) +} + |