summaryrefslogtreecommitdiff
path: root/src/terminal_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal_test.go')
-rw-r--r--src/terminal_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/terminal_test.go b/src/terminal_test.go
index a448de30..317cd5f9 100644
--- a/src/terminal_test.go
+++ b/src/terminal_test.go
@@ -13,7 +13,7 @@ import (
)
func replacePlaceholderTest(template string, stripAnsi bool, delimiter Delimiter, printsep string, forcePlus bool, query string, allItems []*Item) string {
- return replacePlaceholder(replacePlaceholderParams{
+ replaced, _ := replacePlaceholder(replacePlaceholderParams{
template: template,
stripAnsi: stripAnsi,
delimiter: delimiter,
@@ -25,6 +25,7 @@ func replacePlaceholderTest(template string, stripAnsi bool, delimiter Delimiter
prompt: "prompt",
executor: util.NewExecutor(""),
})
+ return replaced
}
func TestReplacePlaceholder(t *testing.T) {