chore: upgrade guinness to remove a workaround in testlib

This commit is contained in:
vsavkin
2015-03-13 16:47:22 -07:00
parent 33bff17f33
commit 75ecaf02b9
7 changed files with 13 additions and 88 deletions

View File

@ -1,6 +1,6 @@
import {describe, it, iit, ddescribe, expect, tick, async, SpyObject, beforeEach, proxy} from 'angular2/test_lib';
import {MapWrapper, ListWrapper} from 'angular2/src/facade/collection';
import {IMPLEMENTS, Date, DateWrapper} from 'angular2/src/facade/lang';
import {MapWrapper} from 'angular2/src/facade/collection';
import {IMPLEMENTS} from 'angular2/src/facade/lang';
class TestObj {
prop;
@ -24,19 +24,6 @@ export function main() {
expect(actual).toEqual(expected);
expect(falseActual).not.toEqual(expected);
});
it('should structurally compare objects with private and static fields', () => {
expect(DateWrapper.fromMillis(1)).toEqual(DateWrapper.fromMillis(1));
});
it('should work for arrays of string maps', () => {
expect([{'a':'b'}]).toEqual([{'a':'b'}]);
});
it('should work for arrays of real maps', () => {
expect([MapWrapper.createFromStringMap({'a':'b'})]).toEqual([MapWrapper.createFromStringMap({'a':'b'})]);
expect([MapWrapper.createFromStringMap({'a':'b'})]).not.toEqual([MapWrapper.createFromStringMap({'a':'c'})]);
});
});
describe('toEqual for Maps', () => {