Skip to content

Commit 0bb0532

Browse files
Copilotbjaglin
andcommitted
Remove obsolete 2.13.14 workaround in RuleSuite
Co-authored-by: bjaglin <[email protected]>
1 parent 6f26d86 commit 0bb0532

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scalafix-tests/expect/src/test/scala/scalafix/tests/rule/RuleSuite.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ class RuleSuite extends AbstractSemanticRuleSuite with AnyFunSuiteLike {
4949
if (
5050
// ExplicitResultTypes can only run against sources compiled with the same
5151
// binary version as the one used to compile the rule
52-
(versionMismatch && explicitResultTypesTest) ||
53-
// RemoveUnusedPatternVars has the old 2.12.x behavior for 2.13.14
54-
(inputSV == "2.13.14" && path.endsWith("RemoveUnusedPatternVars.scala"))
52+
versionMismatch && explicitResultTypesTest
5553
) return
5654
else super.runOn(diffTest)
5755
}

0 commit comments

Comments
 (0)