0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 08:11:52 +00:00

commonjs_modules test requires json_encode.

This commit is contained in:
Stefan Siegl 2014-11-13 21:14:05 +01:00
parent 926d160367
commit 293ca476f0

View File

@ -1,7 +1,12 @@
--TEST--
Test V8Js::setModuleLoader : CommonJS modules
--SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
<?php
if(!function_exists('json_encode')) {
die('SKIP');
}
require_once(dirname(__FILE__) . '/skipif.inc');
?>
--FILE--
<?php