Skip to content

Commit

Permalink
Add unit test for 1995
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman committed Jul 12, 2024
1 parent 5edd2c2 commit d52bdf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions variables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))},
Expand Down

0 comments on commit d52bdf3

Please sign in to comment.