From fbe69d1723230e14f245ca34b0c98fa916b36f64 Mon Sep 17 00:00:00 2001 From: laniakea64 Date: Thu, 21 Nov 2024 10:59:40 -0500 Subject: [PATCH] Add tests --- tests/cases/recipes-with-extras.html | 8 ++++++++ tests/cases/recipes-with-extras.just | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/tests/cases/recipes-with-extras.html b/tests/cases/recipes-with-extras.html index 8ff78b1..265bab7 100644 --- a/tests/cases/recipes-with-extras.html +++ b/tests/cases/recipes-with-extras.html @@ -162,3 +162,11 @@ #!/usr/bin/env python3 import sys print(sys.argv) + +styles: + #!/bin/bash + echo "{{GREEN}}Green{{NORMAL}}" + echo '{{BLUE}}{{BOLD}}Bold Blue{{NORMAL}}' + echo {{UNDERLINE}}{{MAGENTA}}Magenta underlined text{{NORMAL}} + echo "{{style('command')}}echo command{{NORMAL}}" + echo {{quote(style('command') + 'echo command' + NORMAL)}} >&2 diff --git a/tests/cases/recipes-with-extras.just b/tests/cases/recipes-with-extras.just index a90b3ec..dca98a1 100644 --- a/tests/cases/recipes-with-extras.just +++ b/tests/cases/recipes-with-extras.just @@ -162,3 +162,11 @@ ext: #!/usr/bin/env python3 import sys print(sys.argv) + +styles: + #!/bin/bash + echo "{{GREEN}}Green{{NORMAL}}" + echo '{{BLUE}}{{BOLD}}Bold Blue{{NORMAL}}' + echo {{UNDERLINE}}{{MAGENTA}}Magenta underlined text{{NORMAL}} + echo "{{style('command')}}echo command{{NORMAL}}" + echo {{quote(style('command') + 'echo command' + NORMAL)}} >&2