Add case from GH-1526 to unit test suite

This commit is contained in:
Andrew Sliwinski 2018-10-04 14:36:44 -04:00 committed by GitHub
parent bbefc18158
commit e024b7d369
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,7 @@ test('equals', t => {
t.strictEqual(blocks.equals({OPERAND1: '1', OPERAND2: '2'}), false);
t.strictEqual(blocks.equals({OPERAND1: '2', OPERAND2: '1'}), false);
t.strictEqual(blocks.equals({OPERAND1: '1', OPERAND2: '1'}), true);
t.strictEqual(blocks.equals({OPERAND1: 'あ', OPERAND2: 'ア'}), false);
t.end();
});