From f5ed6deec22931f9c139fac55d9d107eaa21925f Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Tue, 8 Jan 2019 17:22:46 -0600 Subject: [PATCH] TESTS: more test coverage in the integration tests. --- integration_tests/macros_test.ucg | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/integration_tests/macros_test.ucg b/integration_tests/macros_test.ucg index c6392be..43cd377 100644 --- a/integration_tests/macros_test.ucg +++ b/integration_tests/macros_test.ucg @@ -43,4 +43,16 @@ assert | |; assert | cplxresult.boolfield == true; +|; + +let macro_tpl_arg = macro(tpl) => { + result = tpl.field, +}; + +let arg_tpl = { + field = "value", +}; + +assert | + macro_tpl_arg(arg_tpl).result == arg_tpl.field; |; \ No newline at end of file