Sfoglia il codice sorgente

Fix exception_clearing test wrt. column numbers

Stefan Siegl 10 anni fa
parent
commit
6d43ec6dbc
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  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]=>