mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-04 23:22:28 +03:00
fix: fix ReplacePlaceholderString
This commit is contained in:
@ -53,6 +53,13 @@ func TestResolvePlaceholderString(t *testing.T) {
|
||||
},
|
||||
"{{}} {{ this }} { should not throw}} an {{{{}}}} error",
|
||||
},
|
||||
{
|
||||
"{{a}}",
|
||||
map[string]string{
|
||||
"a": "X{{.a}}X",
|
||||
},
|
||||
"X{{.a}}X",
|
||||
},
|
||||
}
|
||||
|
||||
for _, s := range scenarios {
|
||||
|
Reference in New Issue
Block a user