mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 13:38:35 +00:00
14 lines
208 B
Go
14 lines
208 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestCLIVersion(t *testing.T) {
|
||
|
e := newExecutor(t, false)
|
||
|
defer e.Close(t)
|
||
|
e.Run(t, "neo-go", "--version")
|
||
|
e.checkNextLine(t, "^neo-go version")
|
||
|
e.checkEOF(t)
|
||
|
}
|