Skip to content

adding failing tests#10

Open
yurique wants to merge 2 commits into
mwielocha:masterfrom
yurique:yurique/failing-tests
Open

adding failing tests#10
yurique wants to merge 2 commits into
mwielocha:masterfrom
yurique:yurique/failing-tests

Conversation

@yurique
Copy link
Copy Markdown
Contributor

@yurique yurique commented Aug 19, 2020

SubclassingSpec I'm not sure if it's supposed to work like this, but I was expecting it :)

WeirdCaseSpec it fails like this (if the code is uncommented):

[error]  [Factorio]: Cannot construct an instance of an abstract class [factorio.WeirdCaseDomain.Thing], provide a concrete class binder or an instance provider.
[error]
[error] While analyzing path:
[error] 0: factorio.WeirdCaseDomain.WantSomething ->
[error]
[error]     val assembler = Assembler[WantSomething](new TestBlueprint)

but the Thing is bound:

    @provides
    def thing: Thing = new RealThing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant