From 996b9ce8427ecce236f24abfc2bde478fd72f288 Mon Sep 17 00:00:00 2001 From: Kevin Boulongne Date: Mon, 13 May 2024 08:35:24 +0200 Subject: [PATCH] Fix EB test --- .../kotlin/com/infomaniak/lib/core/FormatterFileSizeTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/kotlin/com/infomaniak/lib/core/FormatterFileSizeTest.kt b/src/test/kotlin/com/infomaniak/lib/core/FormatterFileSizeTest.kt index 49acefd9..8c2fcc86 100644 --- a/src/test/kotlin/com/infomaniak/lib/core/FormatterFileSizeTest.kt +++ b/src/test/kotlin/com/infomaniak/lib/core/FormatterFileSizeTest.kt @@ -77,7 +77,7 @@ class FormatterFileSizeTest { } @Test - fun `1_890_000_000_000_000_000 is rounded to 1,6 EB`() { - Assert.assertEquals("1.6", context.formatShortFileSize(bytes = 1_890_000_000_000_000_000L, valueOnly = true)) + fun `1_890_000_000_000_000_000 is rounded to 1679 PB`() { + Assert.assertEquals("1679", context.formatShortFileSize(bytes = 1_890_000_000_000_000_000L, valueOnly = true)) } }