Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIdentifierParsing (0.12 sec)

  1. internal/s3select/sql/parser_test.go

    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &j)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		// repr.Println(j, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    }
    
    func TestIdentifierParsing(t *testing.T) {
    	p := participle.MustBuild(
    		&Identifier{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    	)
    
    	id := Identifier{}
    	validCases := []string{
    		"a",
    		"_a",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top