Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Tests are failing: _FakeTimer doesn't have a tick member #6

Open
chalin opened this issue Jul 16, 2018 · 2 comments
Open

Tests are failing: _FakeTimer doesn't have a tick member #6

chalin opened this issue Jul 16, 2018 · 2 comments

Comments

@chalin
Copy link
Contributor

chalin commented Jul 16, 2018

CI tests seem to have been inadvertently disabled in #4.

> pub run test --platform vm
00:02 +0 -1: loading test/http_retry_test.dart [E]                                                                                                                                                     
  Failed to load "test/http_retry_test.dart":
  Unable to spawn isolate: file:///home/travis/.pub-cache/hosted/pub.dartlang.org/fake_async-0.1.2/lib/fake_async.dart:212:7: Error: The non-abstract class '_FakeTimer' is missing implementations for these members:
    'tick'.
  Try to either
   - provide an implementation,
   - inherit an implementation from a superclass or mixin,
   - mark the class as abstract, or
   - provide a 'noSuchMethod' implementation.
  
  class _FakeTimer implements Timer {
        ^^^^^^^^^^
  file:///home/travis/.pub-cache/hosted/pub.dartlang.org/fake_async-0.1.2/lib/fake_async.dart:247:61: Error: The static method has type '(dart.core::Comparable<dynamic>, dart.core::Comparable<dynamic>) → dart.core::int' that isn't of expected type '(dynamic, dynamic) → dart.core::int'.
  Change the type of the method or the context in which it is used.
  dynamic _minOf(Iterable i, [Comparator compare = Comparable.compare]) =>
                                                              ^
00:02 +0 -1: Some tests failed.  

See https://travis-ci.org/dart-lang/http_retry/builds/404507054

@chalin chalin changed the title Tests are failing Tests are failing: _FakeTimer doesn't have a tick member Jul 16, 2018
@chalin
Copy link
Contributor Author

chalin commented Jul 16, 2018

cc @kevmoo

@chalin
Copy link
Contributor Author

chalin commented Jul 16, 2018

Blocked by dart-lang/fake_async#11

kevmoo added a commit that referenced this issue Jul 19, 2018
@kevmoo kevmoo mentioned this issue Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant