Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
81018372e4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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