Selaa lähdekoodia

Fix exception_clearing test wrt. column numbers

Stefan Siegl 10 vuotta sitten
vanhempi
commit
6d43ec6dbc
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      tests/exception_clearing.phpt

+ 5 - 1
tests/exception_clearing.phpt

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