From 7d14ea07cfb345d81f9406d06bed56f106278725 Mon Sep 17 00:00:00 2001 From: Zack Slayton Date: Fri, 9 Aug 2024 10:45:32 -0400 Subject: [PATCH] unit test tweak --- src/lazy/expanded/macro_evaluator.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lazy/expanded/macro_evaluator.rs b/src/lazy/expanded/macro_evaluator.rs index 15ac452a..ea8fdfa8 100644 --- a/src/lazy/expanded/macro_evaluator.rs +++ b/src/lazy/expanded/macro_evaluator.rs @@ -1438,11 +1438,13 @@ mod tests { } #[test] - fn flex_uint_parameter() -> IonResult<()> { + fn flex_uint_parameters() -> IonResult<()> { let template_definition = "(macro int_pair (flex_uint::$x flex_uint::$y) (values $x $y)))"; let tests: &[(&[u8], (u64, u64))] = &[ - (&[0x04, 0x09, 0x01], (4, 0)), - (&[0x04, 0x0B, 0x0D], (5, 6)), // TODO: More test cases + // invocation+args, expected arg values + (&[0x04, 0x01, 0x01], (0, 0)), + (&[0x04, 0x09, 0x03], (4, 1)), + (&[0x04, 0x0B, 0x0D], (5, 6)), // TODO: non-required cardinalities ]; for test in tests {