Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenni0451 committed Dec 20, 2024
2 parents 9f3410e + e922020 commit eda77fa
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -129,10 +129,10 @@ void mapDouble() {
@Test
void formatBytes() {
assertEquals("0 B", MathUtils.formatBytes(0));
assertEquals("1,0 KiB", MathUtils.formatBytes(1024));
assertEquals("1,0 GiB", MathUtils.formatBytes(1024 * 1024 * 1024));
assertEquals("8,0 EiB", MathUtils.formatBytes(Long.MAX_VALUE));
assertEquals("-8,0 EiB", MathUtils.formatBytes(Long.MIN_VALUE + 1));
assertEquals(String.format("%.1f KiB", 1D), MathUtils.formatBytes(1024));
assertEquals(String.format("%.1f GiB", 1D), MathUtils.formatBytes(1024 * 1024 * 1024));
assertEquals(String.format("%.1f EiB", 8D), MathUtils.formatBytes(Long.MAX_VALUE));
assertEquals(String.format("%.1f EiB", -8D), MathUtils.formatBytes(Long.MIN_VALUE + 1));
}

@Test
2 changes: 1 addition & 1 deletion commons-netty/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dependencies {
api project(":commons-core")

compileOnly "io.netty:netty-all:4.1.115.Final"
compileOnly "io.netty:netty-all:4.1.116.Final"
compileOnly "dev.kastle.netty:netty-transport-raknet:1.1.0"
compileOnly "io.jpower.kcp:kcp-netty:1.5.2"
}

0 comments on commit eda77fa

Please sign in to comment.