소스 검색

Fix exception_clearing test wrt. column numbers

Stefan Siegl 10 년 전
부모
커밋
6d43ec6dbc
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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]=>