Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for badTests (0.07 sec)

  1. src/net/mail/message_test.go

    			continue
    		}
    
    		if addr.String() != test {
    			t.Errorf("String() round-trip = %q; want %q", addr, test)
    			continue
    		}
    
    	}
    
    	// Should fail
    	badTests := []string{
    		`<Abc.example.com>`,
    		`<A@b@******@****.***>`,
    		`<a"b(c)d,e:f;g<h>i[j\k]******@****.***>`,
    		`<just"not"******@****.***>`,
    		`<this is"not\******@****.***>`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitConsoleLoggingIntegrationTest.groovy

            fails("test")
    
            then:
            outputContains("""
                ${maybeParentheses('badTest')} FAILED
                    java.lang.RuntimeException: bad
                        at org.gradle.SomeTest.beBad(SomeTest.java:${lineNumberOf('throw new RuntimeException("bad")')})
                        at org.gradle.SomeTest.badTest(SomeTest.java:${lineNumberOf('beBad();')})
            """.stripIndent())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:24 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top