From 24359ec68cd45dbdf361543a8a95b67e12379519 Mon Sep 17 00:00:00 2001 From: Maokaman1 Date: Wed, 1 Apr 2026 22:40:16 +0300 Subject: [PATCH] tmpl: stop ignoring tmpl test fixtures (#26800) --- .gitignore | 2 +- vlib/v/tests/{templates => tmpl}/map_index.txt | 0 vlib/v/tests/tmpl_test.v | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename vlib/v/tests/{templates => tmpl}/map_index.txt (100%) diff --git a/.gitignore b/.gitignore index 080951b15..73cbd990f 100644 --- a/.gitignore +++ b/.gitignore @@ -78,7 +78,7 @@ cache/ *~ ~* .sesskey -tmp* +/tmp* *.db *.swp *.swo diff --git a/vlib/v/tests/templates/map_index.txt b/vlib/v/tests/tmpl/map_index.txt similarity index 100% rename from vlib/v/tests/templates/map_index.txt rename to vlib/v/tests/tmpl/map_index.txt diff --git a/vlib/v/tests/tmpl_test.v b/vlib/v/tests/tmpl_test.v index 8ff462a58..1d5d7cf3c 100644 --- a/vlib/v/tests/tmpl_test.v +++ b/vlib/v/tests/tmpl_test.v @@ -99,7 +99,7 @@ fn map_index_tmpl() string { lang := { 'test_entry': 'Test Text' } - return $tmpl('templates/map_index.txt') + return $tmpl('tmpl/map_index.txt') } fn test_tmpl_map_index() { -- 2.39.5