Merge pull request #819 from mbj/add/explicit__file__support
Add explicit support for __FILE__ and __LINE__
This commit is contained in:
commit
b9e4e7a761
2 changed files with 10 additions and 0 deletions
5
meta/file.rb
Normal file
5
meta/file.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Mutant::Meta::Example.add do
|
||||
source '__FILE__'
|
||||
end
|
5
meta/line.rb
Normal file
5
meta/line.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Mutant::Meta::Example.add do
|
||||
source '__LINE__'
|
||||
end
|
Loading…
Add table
Reference in a new issue