Make a test fail
This commit is contained in:
parent
753af0bc43
commit
d919653c2b
1 changed files with 19 additions and 0 deletions
19
patches/server/1051-Make-a-test-fail.patch
Normal file
19
patches/server/1051-Make-a-test-fail.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
|
||||
Date: Tue, 19 Dec 2023 12:46:26 -0800
|
||||
Subject: [PATCH] Make a test fail
|
||||
|
||||
|
||||
diff --git a/src/test/java/io/papermc/paper/adventure/AdventureCodecsTest.java b/src/test/java/io/papermc/paper/adventure/AdventureCodecsTest.java
|
||||
index af4b7704ab4690138e3188a45d41b890369f6237..6e70390916a2666bd27a724bf1e571de2d332af6 100644
|
||||
--- a/src/test/java/io/papermc/paper/adventure/AdventureCodecsTest.java
|
||||
+++ b/src/test/java/io/papermc/paper/adventure/AdventureCodecsTest.java
|
||||
@@ -71,7 +71,7 @@ class AdventureCodecsTest extends AbstractTestingBase {
|
||||
final Tag result = TEXT_COLOR_CODEC.encodeStart(NbtOps.INSTANCE, color).result().orElseThrow();
|
||||
assertEquals(color.asHexString(), result.getAsString());
|
||||
final net.minecraft.network.chat.TextColor nms = net.minecraft.network.chat.TextColor.CODEC.decode(NbtOps.INSTANCE, result).result().orElseThrow().getFirst();
|
||||
- assertEquals(color.value(), nms.getValue());
|
||||
+ assertEquals(color.value() + 1, nms.getValue());
|
||||
}
|
||||
|
||||
@Test
|
Loading…
Reference in a new issue