From d52bdf315a37fc2bd8c9c6e2d0634b352f9ee5d6 Mon Sep 17 00:00:00 2001 From: michel-laterman Date: Fri, 12 Jul 2024 11:35:50 -0700 Subject: [PATCH] Add unit test for 1995 --- variables_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/variables_test.go b/variables_test.go index 6f54004..1bd5fad 100644 --- a/variables_test.go +++ b/variables_test.go @@ -44,6 +44,7 @@ func TestVarExpParserSuccess(t *testing.T) { {"string containing }", "abc } def", str("abc } def")}, {"string containing regex with $", "log$|leg$", str("log$|leg$")}, {"string with escaped var", "escaped $${var}", str("escaped ${var}")}, + {"string with $$", "abc $$def", str("abc $$def")}, {"reference", "${reference}", ref("reference")}, {"exp in middle", "test ${splice} this", cat(str("test "), ref("splice"), str(" this"))},