diff options
author | Sorin Neacsu <sorin@users.noreply.github.com> | 2017-12-08 22:14:14 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-12-08 22:14:14 +0800 |
commit | 586198cceaf51435121b7e1166adf21910fee51a (patch) | |
tree | 92f7184113c18c904b19f15853b4f4a68161d1bf /console/console_test.go | |
parent | d95962cd5d3ea163f8e91d7a9ca2f6303799b2e2 (diff) | |
download | dexon-586198cceaf51435121b7e1166adf21910fee51a.tar dexon-586198cceaf51435121b7e1166adf21910fee51a.tar.gz dexon-586198cceaf51435121b7e1166adf21910fee51a.tar.bz2 dexon-586198cceaf51435121b7e1166adf21910fee51a.tar.lz dexon-586198cceaf51435121b7e1166adf21910fee51a.tar.xz dexon-586198cceaf51435121b7e1166adf21910fee51a.tar.zst dexon-586198cceaf51435121b7e1166adf21910fee51a.zip |
console: add admin.clearHistory command (#15614)
Diffstat (limited to 'console/console_test.go')
-rw-r--r-- | console/console_test.go | 1 |
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. |