Browse Source

Adapt test to changed v8 error message

Added a "%s" so both messages are matched:

 * Extension or internal compilation error: MakeReferenceError in handlebars at line 1.
 * Extension or internal compilation error in handlebars at line 1.
Stefan Siegl 9 năm trước cách đây
mục cha
commit
81018372e4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tests/extensions_error.phpt

+ 1 - 1
tests/extensions_error.phpt

@@ -17,7 +17,7 @@ var_dump($v8);
 -- registerExtension --
 -- creating V8Js object --
 Exception thrown during bootstrapping
-Extension or internal compilation error in handlebars at line 1.
+Extension or internal compilation error%sin handlebars at line 1.
 Error installing extension 'handlebars'.
 
 Warning: V8Js::__construct(): Failed to create V8 context. Check that registered extensions do not have errors. in %s on line %d