Closed dareid closed 7 years ago
Adding the following test to SEXP parsing test suite fails:
func TestReallyLongResponse(t *testing.T) { obj, err := getResultObject("paste(rep(\"a\", 16780000), sep=\"\", collapse = \"\")") assert.Nil(t, err) str, ok := obj.(string) assert.Equal(t, ok, true, "Return obj should be a string") assert.Equal(t, len(str), 16780000, "String length expected to be 16780000 characters") }
Adding the following test to SEXP parsing test suite fails: