Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,316 for nfail (0.05 sec)

  1. src/run.bat

    L28:
    L29:if x%1==x--no-rebuild goto norebuild
    L30:..\bin\go tool dist test --rebuild
    L31:if errorlevel 1 goto fail
    L32:goto end
    L33:
    L34::norebuild
    L35:..\bin\go tool dist test
    L36:if errorlevel 1 goto fail
    L37:goto end
    L38:
    L39::fail
    L40:set GOBUILDFAIL=1
    L41:
    L42::end
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 20:19:28 UTC 2022
    - 859 bytes
    - Viewed (0)
  2. test/indirect.go

    	if x != 1 {
    		println("wrong maplen")
    		panic("fail")
    	}
    
    	x =
    		len(s0) +
    			len(s3)
    	if x != 1 {
    		println("wrong stringlen")
    		panic("fail")
    	}
    
    	x =
    		len(a0) +
    			len(a2)
    	if x != 20 {
    		println("wrong arraylen")
    		panic("fail")
    	}
    
    	x =
    		len(b0) +
    			len(b3)
    	if x != 3 {
    		println("wrong slicelen")
    		panic("fail")
    	}
    
    	x =
    		cap(b0) +
    			cap(b3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 07:47:26 UTC 2012
    - 1.4K bytes
    - Viewed (0)
  3. src/go/doc/testdata/testing.0.golden

    		N int
    		// contains filtered or unexported fields
    	}
    
    	// Error is equivalent to Log() followed by Fail(). 
    	func (c *B) Error(args ...any)
    
    	// Errorf is equivalent to Logf() followed by Fail(). 
    	func (c *B) Errorf(format string, args ...any)
    
    	// Fail marks the function as having failed but continues ...
    	func (c *B) Fail()
    
    	// FailNow marks the function as having failed and stops its ...
    	func (c *B) FailNow()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  4. src/cmd/internal/test2json/testdata/panic.test

    --- FAIL: TestPanic (0.00s)
    panic: oops [recovered]
    	panic: oops
    
    goroutine 7 [running]:
    testing.tRunner.func1(0xc000092100)
    	/go/src/testing/testing.go:874 +0x3a3
    panic(0x1110ea0, 0x116aea0)
    	/go/src/runtime/panic.go:679 +0x1b2
    command-line-arguments.TestPanic(0xc000092100)
    	a_test.go:6 +0x39
    testing.tRunner(0xc000092100, 0x114f500)
    	go/src/testing/testing.go:909 +0xc9
    created by testing.(*T).Run
    	go/src/testing/testing.go:960 +0x350
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 30 20:46:44 UTC 2019
    - 479 bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/integTest/resources/org/gradle/testing/TestExecutionBuildOperationsIntegrationTest/emitsBuildOperationsForTestNgTests/src/test/java/org/gradle/FooTest.java

            System.out.println("sys out ok");
            System.err.println("sys err ok");
        }
    
        @org.testng.annotations.Test public void fail() {
            System.out.println("sys out fail");
            System.err.println("sys err fail");
            Assert.fail();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1005 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_replace_import.txt

    # TODO(#26909): Ideally these errors should include line numbers for the imports within the main module.
    cd fail
    ! go mod tidy
    stderr '^go: localhost.fail imports\n\tw: module w@latest found \(v0.0.0-00010101000000-000000000000, replaced by ../w\), but does not contain package w$'
    stderr '^go: localhost.fail imports\n\tnonexist: nonexist@v0.1.0: replacement directory ../nonexist does not exist$'
    
    -- go.mod --
    module example.com/m
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. test/varinit.go

    package main
    
    func main() {
    	var x int = 1
    	if x != 1 {
    		print("found ", x, ", expected 1\n")
    		panic("fail")
    	}
    	{
    		var x int = x + 1
    		if x != 2 {
    			print("found ", x, ", expected 2\n")
    			panic("fail")
    		}
    	}
    	{
    		x := x + 1
    		if x != 2 {
    			print("found ", x, ", expected 2\n")
    			panic("fail")
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 509 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

          // One more than maximum value
          UnsignedLongs.decode("0xfffffffffffffffff");
          fail();
        } catch (NumberFormatException expected) {
        }
    
        try {
          UnsignedLongs.decode("-5");
          fail();
        } catch (NumberFormatException expected) {
        }
    
        try {
          UnsignedLongs.decode("-0x5");
          fail();
        } catch (NumberFormatException expected) {
        }
    
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:36:17 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue43835.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	if f() {
    		panic("FAIL")
    	}
    	if bad, _ := g(); bad {
    		panic("FAIL")
    	}
    	if bad, _ := h(); bad {
    		panic("FAIL")
    	}
    }
    
    func f() (bad bool) {
    	defer func() {
    		recover()
    	}()
    	var p *int
    	bad, _ = true, *p
    	return
    }
    
    func g() (bool, int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 26 00:14:35 UTC 2021
    - 593 bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTest.java

        try {
          diff1.entriesInCommon().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnLeft().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
        try {
          diff1.entriesOnlyOnRight().put(7, "x");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 67.1K bytes
    - Viewed (0)
Back to top