Unverified Commit 05e92c82 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

Compatibility pass on flutter/physics tests for JavaScript compilation. (6) (#33359)

parent 30fb9802
......@@ -343,6 +343,7 @@ Future<void> _runTests() async {
Future<void> _runWebTests() async {
await _runFlutterWebTest(path.join(flutterRoot, 'packages', 'flutter'), expectFailure: false, tests: <String>[
'test/foundation/',
'test/physics/',
'test/rendering/',
'test/services/',
'test/painting/',
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment