Skip to content

Commit 5e95522

Browse files
committed
add regression test
1 parent 2b26d41 commit 5e95522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tracing/tests/span.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ fn record_all_macro_records_new_values_for_fields() {
630630
expect::span().named("foo"),
631631
expect::field("bar")
632632
.with_value(&5)
633-
.and(expect::field("baz").with_value(&"BAZ"))
633+
.and(expect::field("baz").with_value(&2))
634634
.and(expect::field("qux").with_value(&display("qux")))
635635
.and(expect::field("quux").with_value(&debug("QuuX")))
636636
.only(),
@@ -650,7 +650,7 @@ fn record_all_macro_records_new_values_for_fields() {
650650
qux = Empty,
651651
quux = Empty
652652
);
653-
record_all!(span, bar = 5, baz = "BAZ", qux = %"qux", quux = ?"QuuX");
653+
record_all!(span, bar = 5, qux = %"qux", quux = ?"QuuX");
654654
span.in_scope(|| {})
655655
});
656656

0 commit comments

Comments
 (0)