This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git
The following commit(s) were added to refs/heads/master by this push:
new f816faa Remove unused exception.
f816faa is described below
commit f816faa5d76191007c36de2d5ae0808571f3d62f
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Jul 23 13:39:08 2021 -0400
Remove unused exception.
---
.../java/org/apache/commons/text/lookup/LocalHostStringLookupTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/test/java/org/apache/commons/text/lookup/LocalHostStringLookupTest.java
b/src/test/java/org/apache/commons/text/lookup/LocalHostStringLookupTest.java
index 032891d..df65a6c 100644
---
a/src/test/java/org/apache/commons/text/lookup/LocalHostStringLookupTest.java
+++
b/src/test/java/org/apache/commons/text/lookup/LocalHostStringLookupTest.java
@@ -35,7 +35,7 @@ public class LocalHostStringLookupTest {
}
@Test
- public void testBadKey() throws UnknownHostException {
+ public void testBadKey() {
Assertions.assertThrows(IllegalArgumentException.class, () ->
LocalHostStringLookup.INSTANCE.lookup("FOO"));
}