1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

5 commits

Author SHA1 Message Date
shyouhei
c3e9fe6a3a merge revision(s) 21432:
* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
	  %> bug. [ruby-dev:37751] [Bug #997] 
	* test/erb/test_erb.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@22583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-23 17:44:50 +00:00
shyouhei
cbdcd88686 merge revision(s) 17881:
* lib/erb.rb (PercentScanner#scan): fix %% line bug. [ruby-core:17491]
	* test/erb/test_erb.rb (test_percent): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@18002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-10 09:43:07 +00:00
knu
0eb420cc78 * lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bug
where tokens are not yilelded one by one.
  (ERB::Compiler::TrimScanner#explicit_trim_line): Fix without-
  strscan problems. [ruby_core:17028].

* test/erb/test_erb.rb (TestERBCore#_test_01)
  (TestERBCore#test_02_safe_04): The expected value should come
  first for assert_equal().
  (TestERBCoreWOStrScan): Add test class for without-strscan.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-03 01:18:47 +00:00
seki
633689f320 TestERBCore: import from erb-2.0.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 02:52:43 +00:00
(no author)
97756449c4 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 02:00:37 +00:00