Branch: Tag:

2001-08-17

2001-08-17 16:55:55 by Per Hedbor <ph@opera.com>

Handle errors in (array)err

Rev: server/etc/test/tests/pike_test_common.pike:1.10

51:   {    if( stringp( err ) )    return indent(2,err + (strlen(err)?(err[-1] == '\n' ? "": "\n" ):"")); +  catch {    err = (array)err;    err[1] = err[1][sizeof(err[1])-3..];    return indent(2, describe_backtrace( err ) ); -  +  }; +  return indent(2, describe_backtrace( err ) );   }      void report_test_failure( mixed err, function cb, array args, int st )