gitee.com/quant1x/engine@v1.8.4/command/command_test.go (about)

     1  package command
     2  
     3  import (
     4  	"errors"
     5  	"fmt"
     6  	"testing"
     7  )
     8  
     9  func TestCommand(t *testing.T) {
    10  	fmt.Println("Quant1X-" + FirstUpper("stock"))
    11  	err := errors.New("invalid argument \"f10\" for \"--features\" flag: strconv.ParseBool: parsing \"f10\": invalid syntax")
    12  	parseFlagError(err)
    13  }