- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,189 for expectHead (0.07 sec)
-
internal/event/name_test.go
- expectErr := (err != nil)
- if expectErr != testCase.expectErr {
- t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
- }
- if !testCase.expectErr {
- if !reflect.DeepEqual(data, testCase.expectedData) {
- t.Fatalf("test %v: data: expected: %v, got: %v", i+1, string(testCase.expectedData), string(data))
- }
- }
- }
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 7.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolverTest.java
- String host = "www.codelibs.org";
- String expected = "www.codelibs.org";
- assertEquals(expected, resolver.toAscii(host));
- host = "テスト.org";
- expected = "xn--zckzah.org";
- assertEquals(expected, resolver.toAscii(host));
- host = "xn--zckzah.org";
- expected = "xn--zckzah.org";
- assertEquals(expected, resolver.toAscii(host));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
- t.Errorf("Expected the Version to be \"%s\", but got \"%s\".", unMarshalXLMeta.Version, jsoniterXLMeta.Version)
- }
- if unMarshalXLMeta.Format != jsoniterXLMeta.Format {
- t.Errorf("Expected the format to be \"%s\", but got \"%s\".", unMarshalXLMeta.Format, jsoniterXLMeta.Format)
- }
- if unMarshalXLMeta.Stat.Size != jsoniterXLMeta.Stat.Size {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
internal/config/config_test.go
- if len(gotFields) != len(test.expectedFields) {
- t.Errorf("Expected keys %d, found %d", len(test.expectedFields), len(gotFields))
- }
- found := true
- for _, field := range gotFields {
- _, ok := test.expectedFields[field]
- found = found && ok
- }
- if !found {
- t.Errorf("Expected %s, got %s", test.expectedFields, gotFields)
- }
- })
- }
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 18 22:55:17 UTC 2022 - 4.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MultipartReaderTest.kt
- source = Buffer().writeUtf8(multipart),
- )
- assertFailsWith<ProtocolException> {
- parts.nextPart()
- }.also { expected ->
- assertThat(expected).hasMessage("expected at least 1 part")
- }
- }
- @Test fun `skip preamble`() {
- val multipart =
- """
- |this is the preamble! it is invisible to application code
- |
- |--simple boundary
- |
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
- {"TEXT", "$\"foo\", 0, $1", "TEXT symbol \"<erroneous symbol>\" must be a symbol(SB)"},
- {"TEXT", "$0É:0, 0, $1", "expected end of operand, found É"}, // Issue #12467.
- {"TEXT", "$:0:(SB, 0, $1", "expected '(', found 0"}, // Issue 12468.
- {"TEXT", "@B(SB),0,$0", "expected '(', found B"}, // Issue 23580.
- {"TEXT", "foo<ABIInternal>(SB),0", "ABI selector only permitted when compiling runtime, reference was to \"foo\""},
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
- IllegalArgumentException expected =
- assertThrows(IllegalArgumentException.class, () -> range.intersection(Range.open(3, 5)));
- assertThat(expected).hasMessageThat().contains("connected");
- expected =
- assertThrows(IllegalArgumentException.class, () -> range.intersection(Range.closed(0, 2)));
- assertThat(expected).hasMessageThat().contains("connected");
- }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.9K bytes - Viewed (0) -
internal/dsync/drwmutex_test.go
- locked := testSimpleWriteLock(t, 10*testDrwMutexAcquireTimeout)
- expected := true
- if locked != expected {
- t.Errorf("TestSimpleWriteLockAcquired(): \nexpected %#v\ngot %#v", expected, locked)
- }
- }
- func TestSimpleWriteLockTimedOut(t *testing.T) {
- locked := testSimpleWriteLock(t, testDrwMutexAcquireTimeout)
- expected := false
- if locked != expected {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
cmd/signature-v4-utils_test.go
- if expectedHost != extractedHost {
- t.Errorf("host header mismatch: expected `%s`, got `%s`", expectedHost, extractedHost)
- }
- // assert the result with the expected value.
- if expectedContentSha256 != extractedContentSha256 {
- t.Errorf("x-amz-content-sha256 header mismatch: expected `%s`, got `%s`", expectedContentSha256, extractedContentSha256)
- }
- if expectedTime != extractedDate {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 05 21:26:41 UTC 2024 - 14.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java
- StringBuilder input = new StringBuilder();
- StringBuilder expected = new StringBuilder();
- for (int i = 256; i < 1024; i++) {
- input.append((char) i);
- expected.append("[" + i + "]");
- }
- assertEquals(expected.toString(), SIMPLE_ESCAPER.escape(input.toString()));
- }
- public void testSurrogatePairs() {
- UnicodeEscaper e = SIMPLE_ESCAPER;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 5.9K bytes - Viewed (0)