mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
fix: fix ReplacePlaceholderString
This commit is contained in:
parent
48df9b7f4e
commit
7149cfeb11
2 changed files with 13 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue