Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#7: Add more tests #25

Closed
wants to merge 1 commit into from
Closed

Conversation

nilshartmann
Copy link
Contributor

Hi @gunnarmorling,

I wrote tests for all situations mentioned in #7 (comment). The tests work, have you (test) cases or source code where I can reproduce the problems?

Compilation compilation = compile();
assertThat(compilation).failed();

assertThat(compilation).hadErrorContaining(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be two errors, one at the import and one at the reference. I suppose the test fails if you expect two errors.

@gunnarmorling
Copy link
Member

Added a commit for the missing license headers and merged. Thanks, @nilshartmann!

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.

2 participants