mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
config: test bad regexp for replace
This commit is contained in:
parent
68e4d346be
commit
5895494897
@ -136,6 +136,13 @@ func TestInterpolateFuncReplace(t *testing.T) {
|
||||
"hello",
|
||||
false,
|
||||
},
|
||||
|
||||
// Bad regexp
|
||||
{
|
||||
`${replace("helo", "/(l/", "$1$1")}`,
|
||||
nil,
|
||||
true,
|
||||
},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user