Skip to content

Commit 9f03625

Browse files
committed
add logging
1 parent 4ef5120 commit 9f03625

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ pub fn format<K: Borrow<str> + Eq + Hash>(
283283
width,
284284
precision,
285285
trait_,
286-
} = FormatArgument::from_str(format)?;
286+
} = dbg!(FormatArgument::from_str(format)?);
287287
let value = context.get(ident)?;
288288
if fill.is_some() {
289289
unimplemented!("fill is not supported");

tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fn test(
110110
converter: impl Display,
111111
strategy: impl Strategy<Value = FormatArgument>,
112112
) {
113-
let mut runner = TestRunner::default();
113+
let mut runner = TestRunner::deterministic();
114114
let values: Vec<_> = iter::repeat_with(|| strategy.new_tree(&mut runner))
115115
.take(1000)
116116
.map(|s| s.unwrap().current())

0 commit comments

Comments
 (0)