summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/Common_test.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-20 15:11:52 +0100
committerAndrey Andreev <narf@bofh.bg>2012-03-20 15:11:52 +0100
commitc2c4694469be036120156d16364c7a822c744094 (patch)
treec00ba55ae279443718a868a4a87d2c0dffca75ed /tests/codeigniter/core/Common_test.php
parent242500d51695e4177ec99a3221086f51f55c8862 (diff)
parentc066481ed558e764ab489449141d2489551b562f (diff)
Merge upstream branch
Diffstat (limited to 'tests/codeigniter/core/Common_test.php')
-rw-r--r--tests/codeigniter/core/Common_test.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/codeigniter/core/Common_test.php b/tests/codeigniter/core/Common_test.php
new file mode 100644
index 000000000..cec12982d
--- /dev/null
+++ b/tests/codeigniter/core/Common_test.php
@@ -0,0 +1,16 @@
+<?php
+
+require_once(BASEPATH.'helpers/email_helper.php');
+
+class Common_test extends CI_TestCase
+{
+
+ // ------------------------------------------------------------------------
+
+ public function test_is_php()
+ {
+ $this->assertEquals(TRUE, is_php('1.2.0'));
+ $this->assertEquals(FALSE, is_php('9999.9.9'));
+ }
+
+} \ No newline at end of file