mirror of
https://gitee.com/lionsoul/friso.git
synced 2024-11-29 17:57:38 +08:00
add tests
This commit is contained in:
parent
a1cf52c168
commit
eb7797797f
21
vendors/binding/php7/tests/001.phpt
vendored
Normal file
21
vendors/binding/php7/tests/001.phpt
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user