Skip to content

Commit 1e983a4

Browse files
refactor(tests): use assert.deepEqual for buffer comparison
Co-authored-by: Arthur Schreiber <arthurschreiber@users.noreply.github.com>
1 parent 40b5d83 commit 1e983a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/token/feature-ext-parser-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe('Feature Ext Parser', () => {
3434

3535
assert.instanceOf(token, FeatureExtAckToken);
3636
assert.ok(token.fedAuth);
37-
assert.isOk(token.fedAuth.equals(Buffer.from('bc')));
37+
assert.deepEqual(token.fedAuth, Buffer.from('bc'));
3838
assert.isUndefined(token.utf8Support); // feature ext ack for UTF8_SUPPORT was not received
3939
assert.isTrue((await parser.next()).done);
4040
});

0 commit comments

Comments
 (0)