refactor: fixed tests

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

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

Loading…
Cancel
Save