diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-19 10:51:57 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-19 10:51:57 +0100 |
commit | 6e096936e55d928030566dbe6cfa225213aa1977 (patch) | |
tree | a460f22315762efdd4b5a29cc8589c0e127c73ef /core/js/tests/specs | |
parent | 930555bd5e349cddee9905d83d5435ae3b7a1ea4 (diff) | |
download | nextcloud-server-6e096936e55d928030566dbe6cfa225213aa1977.tar.gz nextcloud-server-6e096936e55d928030566dbe6cfa225213aa1977.zip |
update JS humanFileSize to use KB instead of kB
Diffstat (limited to 'core/js/tests/specs')
-rw-r--r-- | core/js/tests/specs/coreSpec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/js/tests/specs/coreSpec.js b/core/js/tests/specs/coreSpec.js index f653fc88637..2e970f7e707 100644 --- a/core/js/tests/specs/coreSpec.js +++ b/core/js/tests/specs/coreSpec.js @@ -524,7 +524,7 @@ describe('Core base tests', function() { ["0", '0 B'], ["A", 'NaN B'], [125, '125 B'], - [128000, '125 kB'], + [128000, '125 KB'], [128000000, '122.1 MB'], [128000000000, '119.2 GB'], [128000000000000, '116.4 TB'] @@ -535,9 +535,9 @@ describe('Core base tests', function() { }); it('renders file sizes with the correct unit for small sizes', function() { var data = [ - [0, '0 kB'], - [125, '< 1 kB'], - [128000, '125 kB'], + [0, '0 KB'], + [125, '< 1 KB'], + [128000, '125 KB'], [128000000, '122.1 MB'], [128000000000, '119.2 GB'], [128000000000000, '116.4 TB'] |