factor10 / intent

Test framework for Dotty
https://factor10.github.io/intent/
Apache License 2.0
13 stars 4 forks source link

Negate .toCompleteWith not working #15

Closed eliasson closed 5 years ago

eliasson commented 5 years ago
class ToCompleteWithTest extends TestSuite with Stateless:
  "toCompleteWith" :
    "for successful Future" :
        "can be negated" in expect(Future.successful("foo")).not.toCompleteWith("foo")

Is expected to pass but fails with

[info] [ERROR] intent.matchers.ToCompleteWithTest >> toCompleteWith >> for successful Future >> can be negated (6 ms)
[info]  Expected Future not to be completed with "foo"
provegard commented 5 years ago

PEBCAK