github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/cmd/gno/repl_test.go (about)

     1  package main
     2  
     3  import "testing"
     4  
     5  func TestReplApp(t *testing.T) {
     6  	tc := []testMainCase{
     7  		{args: []string{"repl", "invalid-arg"}, errShouldBe: "flag: help requested"},
     8  
     9  		// args
    10  		// {args: []string{"repl", "..."}, stdoutShouldContain: "..."},
    11  	}
    12  	testMainCaseRun(t, tc)
    13  }