Verifies: SYS-REQ-078 [boundary] GetInt on empty input shall return error.
(t *testing.T)
| 768 | // Verifies: SYS-REQ-078 [boundary] |
| 769 | // GetInt on empty input shall return error. |
| 770 | func TestGetIntEmptyInput(t *testing.T) { |
| 771 | _, err := GetInt([]byte(``), "a") |
| 772 | if err == nil { |
| 773 | t.Fatal("GetInt on empty input should return error") |
| 774 | } |
| 775 | } |
| 776 | |
| 777 | // ============================================================================= |
| 778 | // GetBoolean partial literal (SYS-REQ-079) |