Преглед изворни кода

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 година
родитељ
комит
81018372e4
1 измењених фајлова са 1 додато и 1 уклоњено
  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