Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestHello (0.26 sec)

  1. src/cmd/pack/pack_test.go

    	expect := goodbyeFile.contents
    	if result != expect {
    		t.Fatalf("expected %q got %q", expect, result)
    	}
    }
    
    // Test that pack-created archives can be understood by the tools.
    func TestHello(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	testenv.MustInternalLink(t, false)
    
    	dir := t.TempDir()
    	hello := filepath.Join(dir, "hello.go")
    	prog := `
    		package main
    		func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 16:27:35 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  2. src/net/smtp/smtp_test.go

    	if err != nil {
    		t.Fatalf("smtp: newclient: %v", err)
    	}
    	if !client.tls {
    		t.Errorf("client.tls Got: %t Expected: %t", client.tls, true)
    	}
    }
    
    func TestHello(t *testing.T) {
    
    	if len(helloServer) != len(helloClient) {
    		t.Fatalf("Hello server and client size mismatch")
    	}
    
    	for i := 0; i < len(helloServer); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top