Repository: commons-text Updated Branches: refs/heads/master 915645f37 -> 644de693c
Oops, revert. Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/644de693 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/644de693 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/644de693 Branch: refs/heads/master Commit: 644de693cb762f045739a68c8abe1d49b5a68b18 Parents: 915645f Author: Gary Gregory <[email protected]> Authored: Thu Aug 23 12:48:12 2018 -0600 Committer: Gary Gregory <[email protected]> Committed: Thu Aug 23 12:48:12 2018 -0600 ---------------------------------------------------------------------- .../org/apache/commons/text/lookup/FileStringLookupTest.java | 8 -------- 1 file changed, 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/644de693/src/test/java/org/apache/commons/text/lookup/FileStringLookupTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/text/lookup/FileStringLookupTest.java b/src/test/java/org/apache/commons/text/lookup/FileStringLookupTest.java index 9f51e5d..e2bb555 100644 --- a/src/test/java/org/apache/commons/text/lookup/FileStringLookupTest.java +++ b/src/test/java/org/apache/commons/text/lookup/FileStringLookupTest.java @@ -34,12 +34,4 @@ public class FileStringLookupTest { FileStringLookup.INSTANCE.lookup("UTF-8:src/test/resources/document.properties")); } - @Test - public void testUrl() throws Exception { - final byte[] expectedBytes = Files.readAllBytes(Paths.get("src/test/resources/document.properties")); - String expectedString = new String(expectedBytes, StandardCharsets.UTF_8); - Assertions.assertEquals(expectedString, - FileStringLookup.INSTANCE.lookup("UTF-8:http://google.com")); - } - }
