From 8e83ac046b8dad038f9de92d1c245bcecb7780f8 Mon Sep 17 00:00:00 2001 From: Andinus Date: Mon, 18 Nov 2024 22:25:17 +0530 Subject: [PATCH] Update test file name --- tests/07_token_escape_char_test.go | 4 ++-- ...begin-with-space.html => 03-var-at-begin-with-escape.html} | 0 ...begin-with-space.html => 10-var-at-begin-with-escape.html} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename tests/templates/{03-var-at-begin-with-space.html => 03-var-at-begin-with-escape.html} (100%) rename tests/templates/output/{10-var-at-begin-with-space.html => 10-var-at-begin-with-escape.html} (100%) diff --git a/tests/07_token_escape_char_test.go b/tests/07_token_escape_char_test.go index 5a6807f..82e1151 100644 --- a/tests/07_token_escape_char_test.go +++ b/tests/07_token_escape_char_test.go @@ -79,10 +79,10 @@ func TestRenderWithEscapedVariableAtStart01(t *testing.T) { } page := templatenest.Hash{ - "TEMPLATE": "03-var-at-begin-with-space", + "TEMPLATE": "03-var-at-begin-with-escape", } - outputPath := "templates/output/10-var-at-begin-with-space.html" + outputPath := "templates/output/10-var-at-begin-with-escape.html" outputContents, err := ioutil.ReadFile(outputPath) if err != nil { t.Fatalf("error reading file (`%s`): %+v", outputPath, err) diff --git a/tests/templates/03-var-at-begin-with-space.html b/tests/templates/03-var-at-begin-with-escape.html similarity index 100% rename from tests/templates/03-var-at-begin-with-space.html rename to tests/templates/03-var-at-begin-with-escape.html diff --git a/tests/templates/output/10-var-at-begin-with-space.html b/tests/templates/output/10-var-at-begin-with-escape.html similarity index 100% rename from tests/templates/output/10-var-at-begin-with-space.html rename to tests/templates/output/10-var-at-begin-with-escape.html