- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,982 for EXPECT (0.09 sec)
-
tests/helper_test.go
t.Errorf("pets#%v should equal, expect: %v, got %v", idx, expect.Pets[idx], pet) } else { doCheckPet(t, *pet, *expect.Pets[idx], unscoped) } } }) t.Run("Toys", func(t *testing.T) { if len(user.Toys) != len(expect.Toys) { t.Fatalf("toys should equal, expect: %v, got %v", len(expect.Toys), len(user.Toys)) } sort.Slice(user.Toys, func(i, j int) bool {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go
if !matchParams(pass, expect.args, args, "=") || !matchParams(pass, expect.results, results, "=") { return } // Everything must match. if !matchParams(pass, expect.args, args, "") || !matchParams(pass, expect.results, results, "") { expectFmt := id.Name + "(" + argjoin(expect.args) + ")" if len(expect.results) == 1 { expectFmt += " " + argjoin(expect.results) } else if len(expect.results) > 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 6.9K bytes - Viewed (0) -
test/fixedbugs/bug473.go
var V13 = F(7) var V14 = F(8) func expect(name string, a interface{}, b int) { if a.(int) != b { panic(name) } } func main() { expect("V1", V1, 38) expect("V2", V2, 38) expect("V3", V3, 1) expect("V4", V4, 2) expect("V5", V5, 3) expect("V6", V6, 4) expect("V7", V7, 5) expect("V8", V8, 21) expect("V9", V9, 27) expect("V10", V10, 29) expect("V11", V11, 6) expect("V12", V12, 25)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1K bytes - Viewed (0) -
pkg/registry/core/service/strategy_test.go
Resource: "foos", }) expect := errors.NewNotFound(api.Resource("foos"), "bar") if err := rest.CheckGeneratedNameError(ctx, Strategy, expect, &api.Service{}); err != expect { t.Errorf("NotFoundError should be ignored: %v", err) } expect = errors.NewAlreadyExists(api.Resource("foos"), "bar") if err := rest.CheckGeneratedNameError(ctx, Strategy, expect, &api.Service{}); err != expect {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 32.4K bytes - Viewed (0) -
pkg/config/analysis/local/analyze_test.go
} sa := NewSourceAnalyzer(analysis.Combine("a", a), "", "", cr) err := sa.AddReaderKubeSource(nil) g.Expect(err).To(BeNil()) result, err := sa.Analyze(cancel) g.Expect(err).To(BeNil()) g.Expect(result.Messages).To(ConsistOf(m)) g.Expect(collectionAccessed).To(Equal(K8SCollection1.GroupVersionKind())) g.Expect(result.ExecutedAnalyzers).To(ConsistOf(a.Metadata().Name)) } func TestFilterOutputByNamespace(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 09 07:43:43 UTC 2024 - 9.6K bytes - Viewed (0) -
pilot/pkg/networking/core/route/retry/retry_test.go
g.Expect(policy).To(Not(BeNil())) g.Expect(policy.RetryOn).To(Equal("some,fake,conditions")) g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3))) g.Expect(policy.NumRetries.Value).To(Equal(uint32(2))) g.Expect(policy.RetriableStatusCodes).To(Equal(make([]uint32, 0))) g.Expect(policy.RetryPriority).To(BeNil())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/BaseSerializerFactoryTest.groovy
def factory = new BaseSerializerFactory() def "uses efficient serialization for Strings"() { expect: def serializer = factory.getSerializerFor(String) usesEfficientSerialization("hi", serializer, 3) == "hi" } def "uses efficient serialization for Files"() { expect: def serializer = factory.getSerializerFor(File)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.9K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
} if rb.Length() != 64 { t.Fatalf("expect len 64 bytes but got %d. r.w=%d, r.r=%d", rb.Length(), rb.w, rb.r) } if rb.Free() != 0 { t.Fatalf("expect free 0 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r) } // check empty or full if rb.IsEmpty() { t.Fatalf("expect IsEmpty is false but got true") } if !rb.IsFull() { t.Fatalf("expect IsFull is true but got false")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/FilteringClassLoaderTest.groovy
withSpec {} } void passesThroughSystemClasses() { expect: canLoadClass(String) } void passesThroughSystemPackages() { expect: canSeePackage('java.lang') } @Issue("gradle/core-issues#115") void passesThroughSystemResources() { expect: canSeeResource('java/lang/Object.class') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
String expect = "9121D44B1AD560C7A3152B3CAC453AB4"; testRC4HMac(5, data, key, expect); } /** * @param data * @param key * @param expect * @throws GeneralSecurityException * @throws PACDecodingException */
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 22.3K bytes - Viewed (0)