Skip to content

Commit

Permalink
scandata: Align tests
Browse files Browse the repository at this point in the history
  • Loading branch information
terryburton committed Jul 18, 2024
1 parent ac70ddc commit 1c2c0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c-lib/scandata.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1c2c0d4

Please sign in to comment.