diff --git a/dev/bots/test.dart b/dev/bots/test.dart index cd5688ad876..bc9a6d571c1 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -343,6 +343,7 @@ Future _runTests() async { Future _runWebTests() async { await _runFlutterWebTest(path.join(flutterRoot, 'packages', 'flutter'), expectFailure: false, tests: [ 'test/foundation/', + 'test/physics/', 'test/rendering/', 'test/services/', 'test/painting/', diff --git a/packages/flutter/test/physics/newton_test.dart b/packages/flutter/test/physics/newton_test.dart index d8f20f13c0e..e315368feda 100644 --- a/packages/flutter/test/physics/newton_test.dart +++ b/packages/flutter/test/physics/newton_test.dart @@ -21,7 +21,7 @@ void main() { expect(friction.dx(1.0), 120.0); expect(friction.dx(2.0), 36.0); - expect(friction.dx(3.0), 10.8); + expect(friction.dx(3.0), closeTo(10.8, 0.00001)); expect(friction.dx(4.0) < 3.5, true); expect(friction.isDone(5.0), true);