Fix tests

This commit is contained in:
Daniel Imms
2022-07-23 13:44:12 -07:00
parent 70b5e0249c
commit 19fb806214
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ describe('AttributeData', () => {
assert.equal(attrs.getUnderlineColor(), 45);
// should use FG color if underlineColor holds no value
attrs.extended.underlineColor = -1;
attrs.extended.underlineColor = 0;
attrs.fg |= Attributes.CM_P256 | 123;
assert.equal(attrs.getUnderlineColor(), 123);
});
@@ -62,7 +62,7 @@ describe('AttributeData', () => {
assert.equal(attrs.getUnderlineColor(), (1 << 16) | (2 << 8) | 3);
// should use FG color if underlineColor holds no value
attrs.extended.underlineColor = -1;
attrs.extended.underlineColor = 0;
attrs.fg |= Attributes.CM_P256 | 123;
assert.equal(attrs.getUnderlineColor(), 123);
});