Skip to content

Commit af2cc5c

Browse files
committed
Revert.
1 parent 36575a4 commit af2cc5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/zalando/sprocwrapper/proxy/SProcServiceAnnotationHandlerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Simple {
3333
Assert.assertEquals(SubVirtualShardKeyStrategy.class, result.getShardKeyStrategy().getClass());
3434
}
3535

36-
@Test(expected = NoSuchMethodException.class)
36+
@Test(expected = IllegalArgumentException.class)
3737
public void handle_should_throw_exception_when_strategy_is_not_instantiable() {
3838
@SProcService(shardStrategy = HellVirtualShardKeyStrategy.class)
3939
class Simple {

0 commit comments

Comments
 (0)