summaryrefslogtreecommitdiffhomepage
path: root/test/t/syntax.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/syntax.rb')
-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