- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for simpleMatch (0.13 sec)
-
src/testing/match.go
// calling the given match function. verify(name string, matchString func(pat, str string) (bool, error)) error } // simpleMatch matches a test name if all of the pattern strings match in // sequence. type simpleMatch []string // alternationMatch matches a test name if one of the alternations match. type alternationMatch []filterMatch
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 7.7K bytes - Viewed (0) -
cluster/gce/windows/testonly/install-ssh.psm1
$found = Select-String -Path $user_keys_file -Pattern $ssh_key -SimpleMatch if ($found -eq $null) { Add-Content -Encoding UTF8 $user_keys_file $ssh_key } $found = Select-String -Path $administrator_keys_file -Pattern $ssh_key -SimpleMatch if ($found -eq $null) { Add-Content -Encoding UTF8 $administrator_keys_file $ssh_key } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 09 05:09:18 UTC 2021 - 11.6K bytes - Viewed (0) -
src/testing/match_test.go
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 }{ // Correct patterns
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 14:48:54 UTC 2022 - 8K bytes - Viewed (0)