From dfb97ec3980b0412e544c868544e16edbcc629a3 Mon Sep 17 00:00:00 2001 From: Sorin Neacsu Date: Wed, 6 Dec 2017 15:58:11 -0800 Subject: [PATCH] console test: add missing ClearHistory func --- console/console_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/console/console_test.go b/console/console_test.go index d296807854..05aec2cc0c 100644 --- a/console/console_test.go +++ b/console/console_test.go @@ -68,6 +68,7 @@ func (p *hookedPrompter) PromptConfirm(prompt string) (bool, error) { } func (p *hookedPrompter) SetHistory(history []string) {} func (p *hookedPrompter) AppendHistory(command string) {} +func (p *hookedPrompter) ClearHistory() {} func (p *hookedPrompter) SetWordCompleter(completer WordCompleter) {} // tester is a console test environment for the console tests to operate on.