blob: 7d203008e5ecde07a2be5da0a70d49b6d461b72f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require File.expand_path('../../../../../spec_helper', __FILE__)
require File.expand_path('../fixtures/classes', __FILE__)
describe 'Thread::Backtrace::Location#lineno' do
before :each do
@frame = ThreadBacktraceLocationSpecs.locations[0]
@line = __LINE__ - 1
end
it 'returns the absolute path of the call frame' do
@frame.lineno.should == @line
end
end
|