Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLatin1RoundTrip (0.17 sec)

  1. src/compress/gzip/gzip_test.go

    	}
    	s = buf.String()
    	if s != string(latin1) {
    		t.Fatalf("write utf-8: got %q, want %q", s, string(latin1))
    	}
    }
    
    // TestLatin1RoundTrip tests that metadata that is representable in Latin-1
    // survives a round trip.
    func TestLatin1RoundTrip(t *testing.T) {
    	testCases := []struct {
    		name string
    		ok   bool
    	}{
    		{"", true},
    		{"ASCII is OK", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:10:06 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top