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

Remove import suggestions from assertions #663

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions tests/shared/src/test/scala/munit/TypeCheckSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@ class TypeCheckSuite extends FunSuite {
| ^
|""".stripMargin,
"3" ->
"""|error:
|value foobar is not a member of String, but could be made available as an extension method.
|
|The following import might make progress towards fixing the problem:
|
| import munit.Clue.generate
|
"""|error: value foobar is not a member of String
|msg.foobar
| ^
|""".stripMargin
Expand Down Expand Up @@ -81,11 +75,6 @@ class TypeCheckSuite extends FunSuite {
"""|error:
|Found: (TypeCheckSuite.this.msg : String)
|Required: Int
|
|The following import might make progress towards fixing the problem:
|
| import munit.Clue.generate
|
|val n: Int = msg
| ^
|""".stripMargin
Expand Down