File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
instrumentation/aws_lambda/test/opentelemetry Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7676 _ ( last_span . hex_span_id . size ) . must_equal 16
7777 _ ( last_span . hex_trace_id . size ) . must_equal 32
7878 _ ( last_span . trace_flags . sampled? ) . must_equal true
79- _ ( last_span . tracestate . to_h . to_s ) . must_equal '{}'
79+ _ ( last_span . tracestate . to_h . to_json ) . must_equal '{}'
8080 end
8181 end
8282
9595 _ ( last_span . hex_span_id . size ) . must_equal 16
9696 _ ( last_span . hex_trace_id . size ) . must_equal 32
9797 _ ( last_span . trace_flags . sampled? ) . must_equal true
98- _ ( last_span . tracestate . to_h . to_s ) . must_equal '{"otel"=> "ff40ea9699e62af2-01"}'
98+ _ ( last_span . tracestate . to_h . to_json ) . must_equal '{"otel": "ff40ea9699e62af2-01"}'
9999 end
100100 event_v1 [ 'headers' ] . delete ( 'traceparent' )
101101 event_v1 [ 'headers' ] . delete ( 'tracestate' )
195195 _ ( last_span . hex_span_id . size ) . must_equal 16
196196 _ ( last_span . hex_trace_id . size ) . must_equal 32
197197 _ ( last_span . trace_flags . sampled? ) . must_equal true
198- _ ( last_span . tracestate . to_h . to_s ) . must_equal '{}'
198+ _ ( last_span . tracestate . to_h . to_json ) . must_equal '{}'
199199 end
200200 end
201201
You can’t perform that action at this time.
0 commit comments