Skip to content

Commit

Permalink
Merge pull request lindell#210 from edward9145/codabar-switch-BC
Browse files Browse the repository at this point in the history
Codabar switch B & C
  • Loading branch information
lindell authored Feb 10, 2018
2 parents 99ba8b2 + bbeb114 commit bdd11a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/barcodes/codabar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class codabar extends Barcode{
".": "1101101101",
"+": "101100110011",
"A": "1011001001",
"B": "1010010011",
"C": "1001001011",
"B": "1001001011",
"C": "1010010011",
"D": "1010011001"
};
}
Expand Down
2 changes: 1 addition & 1 deletion test/node/codabar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('Codabar', function() {

it('should encode a string with start and stop characters', function() {
var enc = new Codabar("A12345B", {});
assert.equal("10110010010101011001010100101101100101010101101001011010100101010010011"
assert.equal("10110010010101011001010100101101100101010101101001011010100101001001011"
, enc.encode().data);
});

Expand Down

0 comments on commit bdd11a8

Please sign in to comment.