Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnexpectedEOF (0.27 sec)

  1. src/image/gif/reader_test.go

    			}
    			if img.LoopCount != img1.LoopCount {
    				t.Errorf("loop count failed round-trip: %d vs %d", img.LoopCount, img1.LoopCount)
    			}
    		})
    	}
    }
    
    func TestUnexpectedEOF(t *testing.T) {
    	for i := len(testGIF) - 1; i >= 0; i-- {
    		_, err := DecodeAll(bytes.NewReader(testGIF[:i]))
    		if err == errNotEnough {
    			continue
    		}
    		text := ""
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top