Skip to content

Commit fdd7fe6

Browse files
committed
remove useless macro match
1 parent e0ef03e commit fdd7fe6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

macro/src/main/scala/org/mockito/DoSomethingMacro.scala

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ object DoSomethingMacro {
1515
transformInvocation(c)(invocation, q"_root_.org.mockito.MockitoSugar.doNothing")
1616
case q"$_.StubbingOps[$_]($invocation).doesNothing()" =>
1717
transformInvocation(c)(invocation, q"_root_.org.mockito.MockitoSugar.doNothing")
18-
case q"$_.StubbingOps[$_]($invocation).shouldReturnUnit()" =>
19-
transformInvocation(c)(invocation, q"_root_.org.mockito.MockitoSugar.doNothing")
2018

2119
case o => throw new Exception(s"Couldn't recognize '${show(o)}'")
2220
}

0 commit comments

Comments
 (0)