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 years ago
parent
commit
81018372e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/extensions_error.phpt

+ 1 - 1
tests/extensions_error.phpt

@@ -17,7 +17,7 @@ var_dump($v8);
 -- registerExtension --
 -- registerExtension --
 -- creating V8Js object --
 -- creating V8Js object --
 Exception thrown during bootstrapping
 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'.
 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
 Warning: V8Js::__construct(): Failed to create V8 context. Check that registered extensions do not have errors. in %s on line %d