Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectedDiff (0.16 sec)

  1. cmd/kubeadm/app/util/staticpod/utils_test.go

    					rt.description,
    					rt.expectErr,
    					(actualErr != nil),
    					actualErr,
    				)
    			}
    			if !strings.Contains(diff, rt.expectedDiff) {
    				t.Errorf(
    					"ManifestFilesAreEqual diff doesn't expected\n%s\n\texpected diff: %s\n\tactual diff: %s",
    					rt.description,
    					rt.expectedDiff,
    					diff,
    				)
    			}
    		})
    	}
    }
    
    func TestPatchStaticPod(t *testing.T) {
    	type file struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 15:44:44 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/common_test.go

    func TestDefaultMigrateMutators(t *testing.T) {
    	tests := []struct {
    		name          string
    		mutators      migrateMutators
    		input         []any
    		expected      []any
    		expectedDiff  bool
    		expectedError bool
    	}{
    		{
    			name:     "mutate InitConfiguration",
    			mutators: defaultMigrateMutators(),
    			input: []any{&kubeadmapi.InitConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go

    				},
    			},
    			expected: new(spec.Schema).
    				WithExternalDocs(testStr, testStr2),
    			expectDiff: true,
    		},
    		{
    			name: "example",
    			in: &apiextensions.JSONSchemaProps{
    				Example: &testApiextensionsJSON,
    			},
    			expected: new(spec.Schema).
    				WithExample(testStr),
    			expectDiff: true,
    		},
    		{
    			name: "preserve-unknown-fields in arrays",
    			in: &apiextensions.JSONSchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/junit/junit/4.13.1/junit-4.13.1.jar

    class ComparisonFailure$ComparisonCompactor$DiffExtractor { private final String sharedPrefix; private final String sharedSuffix; private void ComparisonFailure$ComparisonCompactor$DiffExtractor(ComparisonFailure$ComparisonCompactor); public String expectedDiff(); public String actualDiff(); public String compactPrefix(); public String compactSuffix(); private String extractDiff(String); } org/junit/AssumptionViolatedEx.class package org.junit; public synchronized class AssumptionViolatedEx extends i...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 373.7K bytes
    - Viewed (0)
Back to top