summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2014-04-30 12:43:14 +0900
committerNobuyoshi Nakada <[email protected]>2014-05-03 08:42:32 +0900
commit8b13efc26d4a753490427a6db4c874844ea4a5de (patch)
treef7837f5dac220daf71ad0f0661ca286acf7b3245 /test
parentcf3b880df6df004b9471c3bf67aa44774e3ca952 (diff)
downloadmruby-8b13efc26d4a753490427a6db4c874844ea4a5de.tar.gz
mruby-8b13efc26d4a753490427a6db4c874844ea4a5de.zip
count skipped line numbers
Diffstat (limited to 'test')
-rw-r--r--test/t/syntax.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/t/syntax.rb b/test/t/syntax.rb
index a64000534..e105cd3d4 100644
--- a/test/t/syntax.rb
+++ b/test/t/syntax.rb
@@ -307,8 +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
+ line = __LINE__
=begin this is a comment
this is a comment that has extra after =begin and =end with tabs after it
=end xxxxxxxxxxxxxxxxxxxxxxxxxx
- true
+ assert_equal(line + 4, __LINE__)
end