mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use equivalent __FILE__
This commit is contained in:
parent
594c3df9a9
commit
3bb6410914
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ module Test
|
||||||
src = <<eom
|
src = <<eom
|
||||||
# -*- coding: #{line += __LINE__; src.encoding}; -*-
|
# -*- coding: #{line += __LINE__; src.encoding}; -*-
|
||||||
BEGIN {
|
BEGIN {
|
||||||
require "test/unit";include Test::Unit::Assertions;require #{(__dir__ + "/core_assertions").dump};include Test::Unit::CoreAssertions
|
require "test/unit";include Test::Unit::Assertions;require #{__FILE__.dump};include Test::Unit::CoreAssertions
|
||||||
separated_runner #{res_c&.fileno}
|
separated_runner #{res_c&.fileno}
|
||||||
}
|
}
|
||||||
#{line -= __LINE__; src}
|
#{line -= __LINE__; src}
|
||||||
|
|
Loading…
Add table
Reference in a new issue