зеркало из https://github.com/github/ruby.git
Use equivalent `__FILE__`
This commit is contained in:
Родитель
594c3df9a9
Коммит
3bb6410914
|
@ -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}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче