summaryrefslogtreecommitdiffstats
path: root/system/libraries/Unit_test.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-05-17 13:32:19 +0200
committerAndrey Andreev <narf@bofh.bg>2012-05-17 13:32:19 +0200
commit5645479c622eb36cf9869797896dc0921568c4a9 (patch)
tree7a1d0c2d4cb38f440fcc7ff1204d527ed96477cc /system/libraries/Unit_test.php
parent92ebfb65ac044f5c2e6d88fba137253854cf1b94 (diff)
Clean up the libraries
Diffstat (limited to 'system/libraries/Unit_test.php')
-rw-r--r--system/libraries/Unit_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Unit_test.php b/system/libraries/Unit_test.php
index 0f6e2dfdd..6ec2dcd5d 100644
--- a/system/libraries/Unit_test.php
+++ b/system/libraries/Unit_test.php
@@ -350,11 +350,11 @@ class CI_Unit_test {
*/
function is_true($test)
{
- return (is_bool($test) && $test === TRUE);
+ return ($test === TRUE);
}
function is_false($test)
{
- return (is_bool($test) && $test === FALSE);
+ return ($test === FALSE);
}
/* End of file Unit_test.php */