Commit bac71b48 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #1749 from take-cheeze/file_line_test

add test for __LINE__ and __FILE__
parents c93f873a d31f824b
assert('__FILE__') do
assert_equal 'test/t/syntax.rb', __FILE__
end
assert('__LINE__') do
assert_equal 6, __LINE__
end
assert('super', '11.3.4') do
assert_raise NoMethodError do
super
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment