]> granicus.if.org Git - php/commitdiff
first simple test
authorGreg Beaver <cellog@php.net>
Wed, 7 Dec 2005 01:44:24 +0000 (01:44 +0000)
committerGreg Beaver <cellog@php.net>
Wed, 7 Dec 2005 01:44:24 +0000 (01:44 +0000)
ext/phar/tests/001.phpt [new file with mode: 0644]

diff --git a/ext/phar/tests/001.phpt b/ext/phar/tests/001.phpt
new file mode 100644 (file)
index 0000000..b424093
--- /dev/null
@@ -0,0 +1,10 @@
+--TEST--
+PHP_Archive::apiVersion
+--SKIPIF--
+<?php if (!extension_loaded("phar")) print "skip"; ?>
+--FILE--
+<?php
+echo PHP_Archive::apiVersion();
+?>
+--EXPECT--
+0.7
\ No newline at end of file