diff options
Diffstat (limited to 'spec/ruby/fixtures/constants.rb')
-rw-r--r-- | spec/ruby/fixtures/constants.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/ruby/fixtures/constants.rb b/spec/ruby/fixtures/constants.rb index 47a8e87e56..ffe45fb1f6 100644 --- a/spec/ruby/fixtures/constants.rb +++ b/spec/ruby/fixtures/constants.rb @@ -44,6 +44,7 @@ module ConstantSpecs # Included in ParentA module ModuleB + LINE = __LINE__ - 1 CS_CONST10 = :const10_9 CS_CONST11 = :const11_2 CS_CONST12 = :const12_1 @@ -87,7 +88,7 @@ module ConstantSpecs # are run. class ClassA - CS_CLASS_A_LINE = __LINE__ - 1 + LINE = __LINE__ - 1 CS_CONST10 = :const10_10 CS_CONST10_LINE = __LINE__ - 1 CS_CONST16 = :const16 |