add tests

This commit is contained in:
dongyado 2017-08-17 17:03:43 +08:00
parent a1cf52c168
commit eb7797797f

21
vendors/binding/php7/tests/001.phpt vendored Normal file
View File

@ -0,0 +1,21 @@
--TEST--
Check for friso presence
--SKIPIF--
<?php if (!extension_loaded("friso")) print "skip"; ?>
--FILE--
<?php
echo "friso extension is available";
/*
you can add regression tests for your extension here
the output of your test code has to be equal to the
text in the --EXPECT-- section below for the tests
to pass, differences between the output and the
expected text are interpreted as failure
see php5/README.TESTING for further information on
writing regression tests
*/
?>
--EXPECT--
friso extension is available