Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSplitRegexp (0.19 sec)

  1. src/testing/match_test.go

    	for r := rune(0); r <= unicode.MaxRune; r++ {
    		if isSpace(r) != unicode.IsSpace(r) {
    			t.Errorf("IsSpace(%U)=%t incorrect", r, isSpace(r))
    			n++
    			if n > 10 {
    				return
    			}
    		}
    	}
    }
    
    func TestSplitRegexp(t *T) {
    	res := func(s ...string) filterMatch { return simpleMatch(s) }
    	alt := func(m ...filterMatch) filterMatch { return alternationMatch(m) }
    	testCases := []struct {
    		pattern string
    		result  filterMatch
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:48:54 UTC 2022
    - 8K bytes
    - Viewed (0)
Back to top