From 5a427907d5eea41123089ff793e9a47ca0a44213 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 14 May 2022 17:48:50 +0300 Subject: [PATCH] tmpl: fix a test --- vlib/v/tests/tmpl_script_tag_interpolation_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/tests/tmpl_script_tag_interpolation_test.v b/vlib/v/tests/tmpl_script_tag_interpolation_test.v index a5d20b3bdc..1c63ced210 100644 --- a/vlib/v/tests/tmpl_script_tag_interpolation_test.v +++ b/vlib/v/tests/tmpl_script_tag_interpolation_test.v @@ -20,7 +20,7 @@ fn test_template_interpolation_can_be_selectively_turned_on_in_script_tags() { text := $tmpl('tmpl/selective_interpolation_in_script_tag.html') dump(text) assert text.contains('Username: abcd') - assert text.contains('var non_interpolated_labels = ['2012-11-30', '2022-12-29'];') + assert text.contains("var non_interpolated_labels = ['2012-11-30', '2022-12-29'];") assert text.contains('var non_interpolated_values = [5, 6, 7, 1];') assert text.contains("var real_labels = ['2012-11-30', '2022-12-29']; //V_TEMPLATE") assert text.contains('var real_values = [5, 6, 7, 1]; //V_TEMPLATE')