MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / assert_print_duration

Function assert_print_duration

cel/src/duration.rs:222–225  ·  view source on GitHub ↗
(input: Duration, expected: &str)

Source from the content-addressed store, hash-verified

220 }
221
222 fn assert_print_duration(input: Duration, expected: &str) {
223 let actual = format_duration(&input);
224 assert_eq!(actual, expected, "{input}");
225 }
226
227 macro_rules! assert_durations {
228 ($($str:expr => $duration:expr),*$(,)?) => {

Callers

nothing calls this directly

Calls 1

format_durationFunction · 0.85

Tested by

no test coverage detected