test/unit/tracer_test.rb in imprint-1.4.3 vs test/unit/tracer_test.rb in imprint-1.5.0
- old
+ new
@@ -37,11 +37,11 @@
end
should "generate rand trace id" do
trace_id = Imprint::Tracer.rand_trace_id
refute_nil trace_id
- assert_equal 6, trace_id.length
- assert trace_id.match(/[A-Za-z]/)
+ assert_equal 36, trace_id.length
+ assert trace_id.match(/[a-f0-9\-]/)
end
protected
def fake_rack_env