diff options
Diffstat (limited to 'tests/codeigniter/core/Common_test.php')
-rw-r--r-- | tests/codeigniter/core/Common_test.php | 13 |
1 files changed, 13 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..dded2e824 --- /dev/null +++ b/tests/codeigniter/core/Common_test.php @@ -0,0 +1,13 @@ +<?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 |