lib/skylight/test.rb in skylight-5.3.5 vs lib/skylight/test.rb in skylight-6.0.0.beta
- old
+ new
@@ -31,11 +31,12 @@
def native_submit_trace(trace)
config[:mock_submission].call(trace)
end
- def native_stop; end
+ def native_stop
+ end
end
)
const_set :OriginalTrace, Trace
remove_const :Trace
@@ -103,10 +104,11 @@
def native_span_set_meta(span, meta)
mock_spans[span][:meta] = meta
end
- def native_span_started(span); end
+ def native_span_started(span)
+ end
def native_span_set_exception(span, exception_object, exception)
mock_spans[span][:exception_object] = exception_object
mock_spans[span][:exception] = exception
end