aboutsummaryrefslogtreecommitdiffstats
path: root/console/console_test.go
diff options
context:
space:
mode:
authorSorin Neacsu <sorin@users.noreply.github.com>2017-12-08 22:14:14 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-12-08 22:14:14 +0800
commit586198cceaf51435121b7e1166adf21910fee51a (patch)
tree92f7184113c18c904b19f15853b4f4a68161d1bf /console/console_test.go
parentd95962cd5d3ea163f8e91d7a9ca2f6303799b2e2 (diff)
downloadgo-tangerine-586198cceaf51435121b7e1166adf21910fee51a.tar
go-tangerine-586198cceaf51435121b7e1166adf21910fee51a.tar.gz
go-tangerine-586198cceaf51435121b7e1166adf21910fee51a.tar.bz2
go-tangerine-586198cceaf51435121b7e1166adf21910fee51a.tar.lz
go-tangerine-586198cceaf51435121b7e1166adf21910fee51a.tar.xz
go-tangerine-586198cceaf51435121b7e1166adf21910fee51a.tar.zst
go-tangerine-586198cceaf51435121b7e1166adf21910fee51a.zip
console: add admin.clearHistory command (#15614)
Diffstat (limited to 'console/console_test.go')
-rw-r--r--console/console_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/console/console_test.go b/console/console_test.go
index d29680785..05aec2cc0 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.