mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
14 lines
249 B
Go
14 lines
249 B
Go
package main
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestCLIVersion(t *testing.T) {
|
|
e := newExecutor(t, false)
|
|
e.Run(t, "neo-go", "--version")
|
|
e.checkNextLine(t, "^NeoGo")
|
|
e.checkNextLine(t, "^Version:")
|
|
e.checkNextLine(t, "^GoVersion:")
|
|
e.checkEOF(t)
|
|
}
|