- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 276 for expectKind (0.36 sec)
-
pkg/log/config_test.go
if err := Configure(o); err != nil { t.Errorf("Expecting success, got %v", err) } else if s.GetOutputLevel() != InfoLevel { t.Errorf("Expecting InfoLevel, got %v", s.GetOutputLevel()) } o = DefaultOptions() o.stackTraceLevels = "default:debug,all:info" if err := Configure(o); err != nil { t.Errorf("Expecting success, got %v", err) } else if s.GetStackTraceLevel() != InfoLevel {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 10.9K bytes - Viewed (0) -
test/fixedbugs/issue13319.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 00:26:58 UTC 2022 - 423 bytes - Viewed (0) -
test/fixedbugs/issue4562.go
fmt.Println("finished") } func expectError(expectLine int) { if recover() == nil { panic("did not crash") } for i := 1;; i++ { _, file, line, ok := runtime.Caller(i) if !ok { panic("cannot find issue4562.go on stack") } if strings.HasSuffix(file, "issue4562.go") { if line != expectLine { panic(fmt.Sprintf("crashed at line %d, wanted line %d", line, expectLine)) } break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 881 bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreterTest.kt
assertDynamicInterpretationOf( """java""", "Expecting token of type RBRACE, but got IDENTIFIER ('java') instead" ) } @Test fun `unsupported syntax - version catalog alias`() { assertDynamicInterpretationOf( """alias(libs.plugins.jmh)""", "Expecting token of type RBRACE, but got IDENTIFIER ('alias') instead" ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 15:15:27 UTC 2024 - 22.5K bytes - Viewed (0) -
pkg/log/default_test.go
} funcs.Store(pt) if c.debugEnabled != DebugEnabled() { t.Errorf("Got %v, expecting %v", DebugEnabled(), c.debugEnabled) } if c.infoEnabled != InfoEnabled() { t.Errorf("Got %v, expecting %v", InfoEnabled(), c.infoEnabled) } if c.warnEnabled != WarnEnabled() { t.Errorf("Got %v, expecting %v", WarnEnabled(), c.warnEnabled) } if c.errorEnabled != ErrorEnabled() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 26 20:38:10 UTC 2024 - 7.4K bytes - Viewed (0) -
docs/site-replication/run-multi-site-minio-idp.sh
sleep 10 ./mc admin policy info minio1 rw if [ $? -eq 0 ]; then echo "expecting the command to fail, exiting.." exit_1 fi ./mc admin policy info minio2 rw if [ $? -eq 0 ]; then echo "expecting the command to fail, exiting.." exit_1 fi ./mc admin policy info minio3 rw if [ $? -eq 0 ]; then echo "expecting the command to fail, exiting.." exit_1 fi ./mc admin user info minio1 foobar
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 18 18:19:01 UTC 2024 - 12K bytes - Viewed (0) -
cmd/xl-storage-errors_test.go
t.Fatalf("Unexpected error expecting %s", syscall.ENOTEMPTY) } } else { pathErr = &os.PathError{Err: syscall.Errno(0x91)} ok = isSysErrNotEmpty(pathErr) if !ok { t.Fatal("Unexpected error expecting 0x91") } } if runtime.GOOS == globalWindowsOSName { pathErr = &os.PathError{Err: syscall.Errno(0x03)} ok = isSysErrPathNotFound(pathErr) if !ok { t.Fatal("Unexpected error expecting 0x03") } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/ErrorParsingTest.kt
potentialElementSource = indexes: 2..16, line/column: 1/3..1/17, file: test, erroneousSource = indexes: 16..16, line/column: 1/17..1/17, file: test ) ) ErroneousStatement ( ParsingError( message = Expecting an element,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 09:41:25 UTC 2024 - 10.5K bytes - Viewed (0) -
pilot/pkg/security/authz/model/util_test.go
actual, err := convertToPort(tc.V) if tc.Err != "" { if err == nil { t.Errorf("%s: expecting error %s but found no error", tc.Name, tc.Err) } else if !strings.HasPrefix(err.Error(), tc.Err) { t.Errorf("%s: expecting error %s, but got: %s", tc.Name, tc.Err, err.Error()) } } else if tc.Expect != actual { t.Errorf("%s: expecting %d, but got %d", tc.Name, tc.Expect, actual) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 30 00:00:33 UTC 2020 - 2.8K bytes - Viewed (0) -
pkg/filewatcher/filewatcher_test.go
} _ = w.Close() if err := w.Add(name); err == nil { t.Error("Expecting error") } if err := w.Remove(name); err == nil { t.Error("Expecting error") } if ch := w.Errors(name); ch != nil { t.Error("Expecting nil") } if ch := w.Events(name); ch != nil { t.Error("Expecting nil") } } func TestBadWatcher(t *testing.T) { w := NewWatcher()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 7.9K bytes - Viewed (0)