Parcourir la source

fix: assertThrows (throws declaration)

Ranides Atterwim il y a 10 ans
Parent
commit
d091783ca1

+ 1 - 1
assira.junit/src/main/java/net/ranides/assira/junit/NewAssert.java

@@ -211,7 +211,7 @@ public final class NewAssert extends org.junit.Assert {
     
     public interface Action {
         
-        void run() throws Exception;
+        void run() throws Throwable;
         
     }