From 79d68d6c3425669baaa1db66cbd489a3348bc546 Mon Sep 17 00:00:00 2001 From: Brad Arant Date: Mon, 25 Nov 2024 17:00:07 -0800 Subject: [PATCH] minor changes on testtag.jet --- __tag.cpp | 2 +- tests/testtag.jet | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/__tag.cpp b/__tag.cpp index 0f11183..3299a32 100644 --- a/__tag.cpp +++ b/__tag.cpp @@ -10,7 +10,7 @@ namespace jet { throw coreutils::Exception("tag must have a name."); if(!hasContainer) throw coreutils::Exception("tag requires a container to process."); - global.tags[variables["name"]] = container; + global.tags[variables["name"]] = container; // TODO: process container for further tag definitions. } } diff --git a/tests/testtag.jet b/tests/testtag.jet index 6c4b362..222d2ba 100755 --- a/tests/testtag.jet +++ b/tests/testtag.jet @@ -1,17 +1,22 @@ #!../jet-2.0 + + +
1-$[test] 2-$[test] + #[test]
- + a - + b -
\ No newline at end of file + +