From 0778a442b16f9347d3fee76e8bf83d21356ee4f6 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Fri, 5 May 2023 13:07:48 -0400 Subject: [PATCH] diagnostic suppression --- test/modbustest.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/test/modbustest.lua b/test/modbustest.lua index 40d2b2f..b521e7b 100644 --- a/test/modbustest.lua +++ b/test/modbustest.lua @@ -63,6 +63,7 @@ mbt.test_error__check_request(MODBUS_EXCODE.NEG_ACKNOWLEDGE) println("PASS") print("99 {1,2}: ") +---@diagnostic disable-next-line: param-type-mismatch mbt.pkt_set(99, {1, 2}) mbt.test_error__check_request(MODBUS_EXCODE.ILLEGAL_FUNCTION) println("PASS")