diff options
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 |
commit | 5d49a14c11cca360fec0f2749a803fc34d0cc298 (patch) | |
tree | 8598f663ba51861c375d9d21538b470d35f202c5 /test | |
parent | acdd8b2b37dee6a5a42d8ffd74c7d31e61191563 (diff) | |
download | erubis-5d49a14c11cca360fec0f2749a803fc34d0cc298.tar.gz |
- [enhance] add DeleteIndentEnhancer
Diffstat (limited to 'test')
-rw-r--r-- | test/test-enhancers.rb | 21 |
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: |