summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author(no author) <(no author)@c9e70521-770b-0410-b9ac-ce6205b42a9f>2007-03-05 03:00:34 +0000
committer(no author) <(no author)@c9e70521-770b-0410-b9ac-ce6205b42a9f>2007-03-05 03:00:34 +0000
commit5d49a14c11cca360fec0f2749a803fc34d0cc298 (patch)
tree8598f663ba51861c375d9d21538b470d35f202c5 /test
parentacdd8b2b37dee6a5a42d8ffd74c7d31e61191563 (diff)
downloaderubis-5d49a14c11cca360fec0f2749a803fc34d0cc298.tar.gz
- [enhance] add DeleteIndentEnhancer
Diffstat (limited to 'test')
-rw-r--r--test/test-enhancers.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/test-enhancers.rb b/test/test-enhancers.rb
index 870c01e..6db0274 100644
--- a/test/test-enhancers.rb
+++ b/test/test-enhancers.rb
@@ -531,6 +531,27 @@ __END__
</ol>
##
+- name: deleteindent1
+ class: DeleteIndentEruby
+ options:
+ testopt:
+ input: *basic1_input
+ src: |
+ _buf = ''; _buf << '<ul>
+ '; for item in list
+ _buf << '<li>'; _buf << ( item ).to_s; _buf << '</li>
+ '; end
+ _buf << '</ul>
+ ';
+ _buf.to_s
+ output: |
+ <ul>
+ <li><aaa></li>
+ <li>b&b</li>
+ <li>"ccc"</li>
+ </ul>
+
+##
- name: expressioninterpolation1
class: ExpressionInterpolationEruby
options: