mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Add test for unparseable string
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
ff018d48cf
commit
ec4bca619d
1 changed files with 2 additions and 1 deletions
|
|
@ -603,7 +603,8 @@ describe('Core base tests', function() {
|
|||
['119.2 GB', 127990025421],
|
||||
['119.2gb', 127990025421],
|
||||
['116.4 TB', 127983153473126],
|
||||
['116.4tb', 127983153473126]
|
||||
['116.4tb', 127983153473126],
|
||||
['foobar', null]
|
||||
];
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
expect(OC.Util.computerFileSize(data[i][0])).toEqual(data[i][1]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue