refactor: fixed tests

pull/48/head
alestiago 4 years ago
parent c38e1f1286
commit f0f79211bb

@ -106,7 +106,7 @@ void main() {
);
flameTester.test(
'has friction',
'has no friction',
(game) async {
final wall = Wall(
start: Vector2.zero(),
@ -115,7 +115,7 @@ void main() {
await game.ensureAdd(wall);
final fixture = wall.body.fixtures[0];
expect(fixture.friction, greaterThan(0));
expect(fixture.friction, equals(0));
},
);
});

Loading…
Cancel
Save