0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 22:51:51 +00:00

Fix exception_clearing test wrt. column numbers

This commit is contained in:
Stefan Siegl 2014-11-22 18:58:05 +01:00
parent 654a8b8039
commit 6d43ec6dbc

View File

@ -23,7 +23,7 @@ var_dump($v8->getPendingException());
--EXPECTF-- --EXPECTF--
NULL NULL
NULL NULL
object(V8JsScriptException)#%d (11) { object(V8JsScriptException)#%d (13) {
["message":protected]=> ["message":protected]=>
string(49) "throw_0:1: ReferenceError: fooobar is not defined" string(49) "throw_0:1: ReferenceError: fooobar is not defined"
["string":"Exception":private]=> ["string":"Exception":private]=>
@ -63,6 +63,10 @@ object(V8JsScriptException)#%d (11) {
string(7) "throw_0" string(7) "throw_0"
["JsLineNumber":protected]=> ["JsLineNumber":protected]=>
int(1) int(1)
["JsStartColumn":protected]=>
int(0)
["JsEndColumn":protected]=>
int(1)
["JsSourceLine":protected]=> ["JsSourceLine":protected]=>
string(7) "fooobar" string(7) "fooobar"
["JsTrace":protected]=> ["JsTrace":protected]=>