mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-12 01:10:36 +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)
|
||
|
}
|