- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDateParsingCFWS (0.12 sec)
-
src/net/mail/message_test.go
if err != nil { t.Errorf("ParseDate(%s): %v", test.dateStr, err) } else if !date.Equal(test.exp) { t.Errorf("ParseDate(%s) = %+v, want %+v", test.dateStr, date, test.exp) } } } func TestDateParsingCFWS(t *testing.T) { tests := []struct { dateStr string exp time.Time valid bool }{ // FWS-only. No date. { " ", // nil is not allowed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:31:03 UTC 2024 - 30.4K bytes - Viewed (0)