- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestNilFileMethods (0.26 sec)
-
src/os/os_test.go
{"WriteString", func(f *File) error { _, err := f.WriteString(""); return err }}, } // Test that all File methods give ErrInvalid if the receiver is nil. func TestNilFileMethods(t *testing.T) { t.Parallel() for _, tt := range nilFileMethodTests { var file *File got := tt.f(file) if got != ErrInvalid {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0)