Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 412 for incorrectly (0.21 sec)

  1. tests/integration/telemetry/api/istioctl_metrics_test.go

    		return errors.New("unexpected output (incorrect number of lines)")
    	}
    	fields := strings.Fields(lines[1])
    	if len(fields) != 6 {
    		t.Logf("Expected 6 columns, got %#v", fields)
    		return errors.New("unexpected output (incorrect number of columns)")
    	}
    	if fields[0] != workload {
    		t.Logf("Expected column 1 to be %q, got %#v", workload, fields)
    		return errors.New("unexpected output (incorrect workload)")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/doc.go

    //
    // In this example, all the deferred functions run after the loop has
    // completed, so all observe the final value of v [<go1.22].
    //
    //	for _, v := range list {
    //	    defer func() {
    //	        use(v) // incorrect
    //	    }()
    //	}
    //
    // One fix is to create a new variable for each iteration of the loop:
    //
    //	for _, v := range list {
    //	    v := v // new var per iteration
    //	    defer func() {
    //	        use(v) // ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. pkg/kubelet/sysctl/util_test.go

    package sysctl
    
    import (
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    
    	"github.com/stretchr/testify/assert"
    )
    
    // TestConvertPodSysctlsVariableToDotsSeparator tests whether the sysctls variable
    // can be correctly converted to a dot as a separator.
    func TestConvertPodSysctlsVariableToDotsSeparator(t *testing.T) {
    
    	sysctls := []v1.Sysctl{
    		{
    			Name:  "kernel.msgmax",
    			Value: "8192",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 22:58:28 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
            assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId());
    
            // direct dep, overrides depMgmt
            assertTrue(c.getScope().equals("runtime"), "Incorrect scope for " + c.getDependencyConflictId());
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/failure/mappers/AssertjMultipleAssertionsErrorMapperTest.groovy

            }
        }
    
        def "maps assertion failure correctly"() {
            when:
            def mappedFailure = mapper.map(error, rootMapper)
    
            then:
            assert mappedFailure.causes.size() == 3
            assert mappedFailure.rawFailure instanceof MultipleAssertionsError
        }
    
        def "maps inner assertion failures correctly"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/body.md

    <img src="/img/tutorial/body/image03.png">
    
    Et vous obtenez aussi de la vérification d'erreur pour les opérations incorrectes de types :
    
    <img src="/img/tutorial/body/image04.png">
    
    Ce n'est pas un hasard, ce framework entier a été bâti avec ce design comme objectif.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomResolutionTest.kt

            val topLevelBlock = parseAsTopLevelBlock(
                """
                addAndConfigure("correct") { }
                addAndConfigure("lambda missing")
                addAndConfigure("incorrect signature", 1) {
                    number = 123
                    number = f(illegalPropertyUsage) // for now, it is reported as a single error; do we want it to be an assignment of an erroneous value?
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/arm64/asm_arm64_test.go

    			}
    			if hi+lo<<shift != v {
    				t.Fatalf("splitImm24uScaled(%x, %x) = (%x, %x) is incorrect", v, shift, hi, lo)
    			}
    		}
    	}
    }
    
    // TestLarge generates a very large file to verify that large
    // program builds successfully, in particular, too-far
    // conditional branches are fixed, and also verify that the
    // instruction's pc can be correctly aligned even when branches
    // need to be fixed.
    func TestLarge(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:46:11 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_download_private_vcs.txt

    env HOME=$WORK${/}home${/}gopher
    exec git config --global --show-origin user.name
    stdout 'Go Gopher'
    
    ! go mod download github.com/golang/nonexist@latest
    stderr 'Confirm the import path was entered correctly.'
    stderr 'If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.'
    ! stdout .
    
    # Fetching a nonexistent commit should return an "unknown revision"
    # error message.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/AbstractConfigurationCacheOptInFeatureIntegrationTest.groovy

        protected ConfigurationCacheProblemsFixture problems
    
        def setup() {
            // Verify that the previous test cleaned up state correctly
            assert System.getProperty(StartParameterBuildOptions.ConfigurationCacheOption.PROPERTY_NAME) == null
            assert System.getProperty(StartParameterBuildOptions.IsolatedProjectsOption.PROPERTY_NAME) == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top