From 1a3803bd075ee301fdb35e420432a9f7d65ceb2f Mon Sep 17 00:00:00 2001 From: erwan-joly Date: Sun, 30 Aug 2026 13:36:30 +1200 Subject: [PATCH] style: drop the comment the assertions already make The two asserts below it say the packet carries the message as typed and the caret appears on the wire. --- .../Miniland/MlEditPacketHandlerTests.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/NosCore.PacketHandlers.Tests/Miniland/MlEditPacketHandlerTests.cs b/test/NosCore.PacketHandlers.Tests/Miniland/MlEditPacketHandlerTests.cs index 524110410..58d2ad78c 100644 --- a/test/NosCore.PacketHandlers.Tests/Miniland/MlEditPacketHandlerTests.cs +++ b/test/NosCore.PacketHandlers.Tests/Miniland/MlEditPacketHandlerTests.cs @@ -208,9 +208,6 @@ private void MinilandMessageWithSpaceShouldBeChanged() var miniland = MinilandProvider.GetMiniland(Session.Character.CharacterId); Assert.AreEqual("Test Test", miniland.MinilandMessage); var lastpacket2 = (MlintroPacket?)Session.LastPackets.FirstOrDefault(s => s is MlintroPacket); - - // The packet carries the message as typed; the "^" encoding is the serializer's, - // which is why MlintroPacket.Intro declares EscapeSpaces. Assert.AreEqual("Test Test", lastpacket2?.Intro); Assert.AreEqual("mlintro Test^Test", new Serializer(new[] { typeof(MlintroPacket) }).Serialize(lastpacket2!)); }