From 2fca10a7c48114351ba3c6fb82880fbb81e02a38 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Fri, 29 Sep 2023 10:13:41 +0200 Subject: [PATCH] CoapPacket (unit test) - Fixed compilation error --- source/doap/protocol/packet.d | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/doap/protocol/packet.d b/source/doap/protocol/packet.d index a16b411..2746f54 100644 --- a/source/doap/protocol/packet.d +++ b/source/doap/protocol/packet.d @@ -736,10 +736,10 @@ version(unittest) */ unittest { - assert(CoapPacket.determineLenType(12) == CoapPacket.OptionLenType.ZERO_TO_TWELVE); - assert(CoapPacket.determineLenType(268) == CoapPacket.OptionLenType._8BIT_EXTENDED); - assert(CoapPacket.determineLenType(65804) == CoapPacket.OptionLenType._12_BIT_EXTENDED); - assert(CoapPacket.determineLenType(65804+1) == CoapPacket.OptionLenType.UPPER_PAYLOAD_MARKER); + assert(CoapPacket.determineLenType(12) == OptionLenType.ZERO_TO_TWELVE); + assert(CoapPacket.determineLenType(268) == OptionLenType._8BIT_EXTENDED); + assert(CoapPacket.determineLenType(65804) == OptionLenType._12_BIT_EXTENDED); + assert(CoapPacket.determineLenType(65804+1) == OptionLenType.UPPER_PAYLOAD_MARKER); } /**