Verifies: SYS-REQ-064 [boundary] ParseInt on empty input shall return MalformedValueError.
(t *testing.T)
| 545 | // Verifies: SYS-REQ-064 [boundary] |
| 546 | // ParseInt on empty input shall return MalformedValueError. |
| 547 | func TestParseIntEmpty(t *testing.T) { |
| 548 | _, err := ParseInt([]byte(``)) |
| 549 | if !errors.Is(err, MalformedValueError) { |
| 550 | t.Fatalf("ParseInt(empty) error = %v, want %v", err, MalformedValueError) |
| 551 | } |
| 552 | } |
| 553 | |
| 554 | // ============================================================================= |
| 555 | // ParseFloat empty (SYS-REQ-065) |
nothing calls this directly
no test coverage detected
searching dependent graphs…