summaryrefslogtreecommitdiffstats
path: root/application/test/tests
diff options
context:
space:
mode:
Diffstat (limited to 'application/test/tests')
-rw-r--r--application/test/tests/test_filebin_helper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/test/tests/test_filebin_helper.php b/application/test/tests/test_filebin_helper.php
index edebb13ca..c505dfe8a 100644
--- a/application/test/tests/test_filebin_helper.php
+++ b/application/test/tests/test_filebin_helper.php
@@ -66,5 +66,6 @@ class test_filebin_helper extends \test\Test {
$this->t->is(return_bytes("1M"), 1*1024*1024, "1M");
$this->t->is(return_bytes("1G"), 1*1024*1024*1024, "1G");
$this->t->is(return_bytes("1P"), "1P", "unhandled text: 1P");
+ $this->t->ok(return_bytes("106954752") === 106954752, "value without unit is returned as int");
}
}