ERB bug

 [ruby-core:17028] での指摘の通り ruby_1_8 では r15794 の
変更で strscan ãŒãªã„å ´åˆã®ERBの挙動がおかしくなっています。

 一箇所直しましたが、まだ以下の問題が残っているので対処を
お願いします。

Loaded suite test_erb.rb
Started
…F
Finished in 0.042769 seconds.

  1. Failure:
    test_08_explicit(TestERBCore) [./test/erb/test_erb.rb:410]:
    <“NotSkip NotSkip\n * HELLO\n * WORLD\n NotSkip \n * hello\n *
    HELLO\n * world\n * WORLD\nKeepNewLine \n”> expected but was
    <"\nNotSkip NotSkip\n\n\n * HELLO\n\n\n * WORLD\n\n NotSkip \n\n\n
  • hello\n\n * HELLO\n\n\n * world\n\n * WORLD\n\nKeepNewLine
    \n">.

12 tests, 105 assertions, 1 failures, 0 errors

e$B31$H$$$$$^$9!#e(B

On 2008/06/02, at 16:21, Akinori MUSHA wrote:

e$B!!e(B[ruby-core:17028] e$B$G$N;XE&$NDL$je(B ruby_1_8 e$B$G$Oe(B
r15794 e$B$Ne(B
e$BJQ99$Ge(B strscan e$B$,$J$$>l9g$Ne(BERBe$B$N5sF0$,$*$+$7$/e(B
e$B$J$C$F$$$^$9!#e(B

e$B?=$7Lu$"$j$^$;$s!#e(B
strscane$B$N$J$$4D6-$G<B83$7$F$^$;$s$G$7$?!#e(B

strscane$B$r;H$o$J$$%F%9%H%1!<%9$rDI2C$7$F!";XE&$r=$@5$7$^$7$?!#e(B