From 1c2c0d48d2140ec226265551509c3d47d34d0629 Mon Sep 17 00:00:00 2001 From: Terry Burton Date: Thu, 18 Jul 2024 03:06:27 +0100 Subject: [PATCH] scandata: Align tests --- src/c-lib/scandata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c-lib/scandata.c b/src/c-lib/scandata.c index c82b791..59a0dba 100644 --- a/src/c-lib/scandata.c +++ b/src/c-lib/scandata.c @@ -613,7 +613,7 @@ void test_scandata_generateScanData(void) { test_testGenerateScanData(DM, "^011231231231233310ABC123^99TESTING", "]d2011231231231233310ABC123" "\x1D" "99TESTING"); test_testGenerateScanData(DM, "^011231231231233310ABC123^99TESTING^", - "]d2011231231231233310ABC123" "\x1D" "99TESTING"); // Trailing FNC1 should be stripped + "]d2011231231231233310ABC123" "\x1D" "99TESTING" "\x1D"); // Trailing FNC1 is not stripped /* DataBar Expanded */ test_testGenerateScanData(DataBarExpanded, "^011231231231233310ABC123^99TESTING",