Fix grid resize test to check for object identity
This commit is contained in:
parent
d79aceeebf
commit
ae26496730
1 changed files with 1 additions and 1 deletions
|
@ -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", () {
|
||||
|
|
Loading…
Reference in a new issue