blob: 5911cdced0c30cf01d0120d3cf6f162e4c7556cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require_relative '../../../../spec_helper'
require_relative 'fixtures/classes'
describe 'Thread::Backtrace::Location#to_s' do
before :each do
@frame = ThreadBacktraceLocationSpecs.locations[0]
@line = __LINE__ - 1
end
it 'converts the call frame to a String' do
@frame.to_s.should include("#{__FILE__}:#{@line}:in ")
end
end
|