Update test

This commit is contained in:
Kim Biesbjerg 2016-12-10 02:05:25 +01:00
parent 11c910df65
commit c35036d4c8

View File

@ -74,7 +74,7 @@ describe('StringCollection', () => {
}); });
it('should intersect with passed collection and keep original values', () => { it('should intersect with passed collection and keep original values', () => {
collection = new TranslationCollection({ red: 'rød', blue: 'blå' }); collection = new TranslationCollection({ red: 'rød', green: 'grøn', blue: 'blå' });
const newCollection = new TranslationCollection({ red: 'no value', blue: 'also no value' }); const newCollection = new TranslationCollection({ red: 'no value', blue: 'also no value' });
expect(collection.intersect(newCollection).values).to.deep.equal({ red: 'rød', blue: 'blå' }); expect(collection.intersect(newCollection).values).to.deep.equal({ red: 'rød', blue: 'blå' });
}); });