summaryrefslogtreecommitdiff
path: root/spec/ruby/core/tracepoint/inspect_spec.rb
blob: 19e345c7cf579b734eb52021b3fd086767a53a7a (plain)
1
2
3
4
5
6
7
8
require_relative '../../spec_helper'

describe 'TracePoint#inspect' do
  it 'returns a string containing a human-readable TracePoint status' do
    TracePoint.new(:call) {}.inspect.should ==
      '#<TracePoint:disabled>'
  end
end