============================================================================= ParseFloat empty (SYS-REQ-065) ============================================================================= Verifies: SYS-REQ-065 [boundary] ParseFloat on empty input shall return MalformedValueError.
(t *testing.T)
| 558 | // Verifies: SYS-REQ-065 [boundary] |
| 559 | // ParseFloat on empty input shall return MalformedValueError. |
| 560 | func TestParseFloatEmpty(t *testing.T) { |
| 561 | _, err := ParseFloat([]byte(``)) |
| 562 | if !errors.Is(err, MalformedValueError) { |
| 563 | t.Fatalf("ParseFloat(empty) error = %v, want %v", err, MalformedValueError) |
| 564 | } |
| 565 | } |
| 566 | |
| 567 | // ============================================================================= |
| 568 | // ParseBoolean empty (SYS-REQ-066) |
nothing calls this directly
no test coverage detected
searching dependent graphs…