Fix grid resize test to check for object identity

This commit is contained in:
Unknown 2018-10-21 11:07:46 +02:00
parent d79aceeebf
commit ae26496730
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ void main() {
test("creates a new underlying grid on resizing", () {
var oldMap = sut.map;
sut.gridSize = Point(10, 10);
expect(sut.map, isNot(oldMap));
expect(sut.map, isNot(same(oldMap)));
});
});
group("reset", () {