- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestConcat (0.09 sec)
-
src/compress/gzip/gzip_test.go
if n2 == n3 { t.Fatal("Flush didn't flush any data") } if err := w.Close(); err != nil { t.Fatal(err) } } // Multiple gzip files concatenated form a valid gzip file. func TestConcat(t *testing.T) { var buf bytes.Buffer w := NewWriter(&buf) w.Write([]byte("hello ")) w.Close() w = NewWriter(&buf) w.Write([]byte("world\n")) w.Close() r, err := NewReader(&buf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:10:06 UTC 2024 - 6K bytes - Viewed (0)