Replace source file and line with source struct

This commit is contained in:
Michael Miller 2019-02-17 12:40:16 -07:00
parent ffca0316a4
commit ed01a95e67
9 changed files with 26 additions and 70 deletions

View file

@ -5,12 +5,8 @@ class ConcretePendingExample < Spectator::PendingExample
"PENDING_TEST_EXAMPLE"
end
def source_file
__FILE__
end
def source_line
__LINE__
def source
::Spectator::Source.new(__FILE__, __LINE__)
end
def instance