- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 276 for expectKind (0.56 sec)
-
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags_test.go
if err == nil || !strings.Contains(err.Error(), tc.expectedParseError) { t.Errorf("expecting error %q, got %v", tc.expectedError, err) } return } if err != nil { t.Errorf("unexpected error: %v", err) } if !strings.Contains(out.String(), tc.expectedOutput) { t.Errorf("unexpected output: expecting %q, got %q", tc.expectedOutput, out.String()) } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 6.7K bytes - Viewed (0) -
docs/site-replication/run-multi-site-ldap.sh
./mc stat minio2/newbucket if [ $? -ne 0 ]; then echo "expecting bucket to be present. exiting.." exit_1 fi ./mc stat minio3/newbucket if [ $? -ne 0 ]; then echo "expecting bucket to be present. exiting.." exit_1 fi ./mc cp README.md minio2/newbucket/ sleep 5 ./mc stat minio1/newbucket/README.md if [ $? -ne 0 ]; then echo "expecting object to be present. exiting.." exit_1 fi
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 18 18:19:01 UTC 2024 - 10.1K bytes - Viewed (2) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags_test.go
if err == nil || !strings.Contains(err.Error(), tc.expectedError) { t.Errorf("expecting error %q, got %v", tc.expectedError, err) } return } if err != nil { t.Errorf("unexpected error: %v", err) } if len(out.String()) != len(tc.expectedOutput) { t.Errorf("unexpected output: expecting %q, got %q", tc.expectedOutput, out.String()) } }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 09:47:52 UTC 2023 - 5.9K bytes - Viewed (0) -
security/pkg/server/ca/server_test.go
s, _ := status.FromError(err) code := s.Code() if code != c.code { t.Errorf("Case %s: expecting code to be (%d) but got (%d): %s", id, c.code, code, s.Message()) } else if c.code == codes.OK { if len(response.CertChain) != len(mockCertChain) { t.Errorf("Case %s: expecting cert chain length to be (%d) but got (%d)", id, len(mockCertChain), len(response.CertChain)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 15.8K bytes - Viewed (0) -
docs/site-replication/run-multi-site-oidc.sh
if [ $? -ne 0 ]; then echo "expecting the command to succeed, exiting.." exit_1 fi ./mc admin policy info minio3 projecta >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "expecting the command to succeed, exiting.." exit_1 fi ./mc admin policy remove minio3 projecta sleep 10 ./mc admin policy info minio1 projecta if [ $? -eq 0 ]; then echo "expecting the command to fail, exiting.." exit_1 fi
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 18 18:19:01 UTC 2024 - 8.5K bytes - Viewed (0) -
pilot/pkg/security/authz/matcher/header_test.go
}, }, }, } for _, tc := range testCases { t.Run(tc.Name, func(t *testing.T) { actual := HeaderMatcher(tc.K, tc.V) if !cmp.Equal(tc.Expect, actual, protocmp.Transform()) { t.Errorf("expecting %v, but got %v", tc.Expect, actual) } }) } } func TestHostMatcherWithRegex(t *testing.T) { testCases := []struct { Name string K string V string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 17 22:42:11 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/config/validation/header_value_validator.go
} else if !isSpace(ch) { return errors.New("invalid header configuration. Expecting ',', ']', or whitespace") } case ExpectStringParserState: // Skip over whitespace looking for the starting quote of a JSON string. if ch == '"' { state = StringParserState } else if !isSpace(ch) { return errors.New("invalid header configuration. Expecting '\"'") } case StringParserState:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 15 21:37:52 UTC 2023 - 4.6K bytes - Viewed (0) -
test/switch2.go
// Verify that erroneous switch statements are detected by the compiler. // Does not compile. package main func f() { switch { case 0; // ERROR "expecting := or = or : or comma|expected :" } switch { case 0; // ERROR "expecting := or = or : or comma|expected :" default: } switch { case 0: case 0: default: } switch { case 0: f(); case 0:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 01 22:37:04 UTC 2022 - 775 bytes - Viewed (0) -
pkg/cache/cache_test.go
v, ok := c.Get(key) if !ok { t.Errorf("Got false for key %s, expecting true", key) } else if v.(int) != j { t.Errorf("Got %d for key %s, expecting %d", v, key, j) } c.Remove(key) } wg.Done() }() } wg.Wait() stats := c.Stats() if stats.Misses != 0 { t.Errorf("Got %d misses, expecting %d", stats.Misses, 0) } if stats.Hits != uint64(workers*numIters) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:49 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Combinators.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 12.9K bytes - Viewed (0)