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

Missing migration for org.scalatest.concurrent.Timeouts #18

Open
olafurpg opened this issue Dec 4, 2019 · 0 comments
Open

Missing migration for org.scalatest.concurrent.Timeouts #18

olafurpg opened this issue Dec 4, 2019 · 0 comments

Comments

@olafurpg
Copy link

olafurpg commented Dec 4, 2019

First of all, thank you for providing this migration rewrite! I have already upgraded several projects to 3.1.0 and it's been mostly a seamless experience so far thanks to the rewrite and automatic Scala Steward PRs.

When upgrading the Scalafmt repo we hit on the following compile error after applying the rewrite scalameta/scalafmt#1582

[error] /home/travis/build/scalameta/scalafmt/scalafmt-tests/src/test/scala/org/scalafmt/FormatTests.scala:24:8: object Timeouts is not a member of package org.scalatest.concurrent

[error] import org.scalatest.concurrent.Timeouts

[error]        ^

[error] /home/travis/build/scalameta/scalafmt/scalafmt-tests/src/test/scala/org/scalafmt/FormatTests.scala:32:10: not found: type Timeouts

[error]     with Timeouts

[error]          ^

From the release notes

Removed the deprecated org.scalatest.concurrent.Timeouts trait. Please use org.scalatest.concurrent.TimeLimits instead.

http://www.scalatest.org/release_notes/3.1.0

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

No branches or pull requests

1 participant