diff options
author | (no author) <(no author)@c9e70521-770b-0410-b9ac-ce6205b42a9f> | 2007-02-11 03:49:51 +0000 |
---|---|---|
committer | (no author) <(no author)@c9e70521-770b-0410-b9ac-ce6205b42a9f> | 2007-02-11 03:49:51 +0000 |
commit | ebddcd7c58d624e4d50599800500efa31960724d (patch) | |
tree | 978500d2d0def15d67f9ef6f05465c9e19182ab6 /test/test-main.rb | |
parent | 0129aafbb64cb552c35dc62a4fe319608cdbfdf1 (diff) | |
download | erubis-ebddcd7c58d624e4d50599800500efa31960724d.tar.gz |
- [change] option '-X' is changed to '-z'
- [enhance] erubybench.rb supports '-e' (escape) option
- [enhance] erubybench.rb supports PI::Eruby
- [update] users-guide
Diffstat (limited to 'test/test-main.rb')
-rw-r--r-- | test/test-main.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/test-main.rb b/test/test-main.rb index 3b0f7fc..f3d1a9f 100644 --- a/test/test-main.rb +++ b/test/test-main.rb @@ -187,15 +187,15 @@ END end - def test_syntax1 # -X (syntax ok) + def test_syntax1 # -z (syntax ok) @input = INPUT @expected = "Syntax OK\n" - @options = '-X' + @options = '-z' _test() end - def test_syntax2 # -X (syntax error) + def test_syntax2 # -z (syntax error) inputs = [] inputs << <<'END' <ul> @@ -231,7 +231,7 @@ END (0...max).each do |i| @input = inputs[i] @expected = "tmp.test_syntax2:#{errmsgs[i]}" - @options = '-X' + @options = '-z' _test() end # @@ -241,7 +241,7 @@ END end @input = '<ok/>' @expected = '' - @options = '-X' + @options = '-z' (0...max).each do |i| @expected << "#{filenames[i]}:#{errmsgs[i]}" @options << " #{filenames[i]}" |