summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-04 20:29:48 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-04 20:29:48 +0900
commite9e4c13390eb5f135182449a951d6b6eec05b2e9 (patch)
treef40fae77ec59d15850de2bf314bcdb3fca54a265 /test
parent07b9f2dea7750882c2f9805ffd0b9097ed320d95 (diff)
parent8b13efc26d4a753490427a6db4c874844ea4a5de (diff)
downloadmruby-e9e4c13390eb5f135182449a951d6b6eec05b2e9.tar.gz
mruby-e9e4c13390eb5f135182449a951d6b6eec05b2e9.zip
Merge pull request #2161 from nobu/embedded_document
Embedded document
Diffstat (limited to 'test')
-rw-r--r--test/t/syntax.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/t/syntax.rb b/test/t/syntax.rb
index 0bb3fa389..e105cd3d4 100644
--- a/test/t/syntax.rb
+++ b/test/t/syntax.rb
@@ -307,5 +307,9 @@ this is a comment that has =end with spaces after it
=begin this is a comment
this is a comment that has extra after =begin and =end with spaces after it
=end
- true
+ line = __LINE__
+=begin this is a comment
+this is a comment that has extra after =begin and =end with tabs after it
+=end xxxxxxxxxxxxxxxxxxxxxxxxxx
+ assert_equal(line + 4, __LINE__)
end