cli: change --version output format, fix #2611
This commit is contained in:
parent
1ff588a11b
commit
eb67b61c0f
2 changed files with 13 additions and 1 deletions
|
@ -7,6 +7,8 @@ import (
|
|||
func TestCLIVersion(t *testing.T) {
|
||||
e := newExecutor(t, false)
|
||||
e.Run(t, "neo-go", "--version")
|
||||
e.checkNextLine(t, "^neo-go version")
|
||||
e.checkNextLine(t, "^NeoGo")
|
||||
e.checkNextLine(t, "^Version:")
|
||||
e.checkNextLine(t, "^GoVersion:")
|
||||
e.checkEOF(t)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue