diff --git a/src/test/java/io/harness/jhttp/processor/DirectoryIndexTest.java b/src/test/java/io/harness/jhttp/processor/DirectoryIndexTest.java index 05257e2..0069f18 100644 --- a/src/test/java/io/harness/jhttp/processor/DirectoryIndexTest.java +++ b/src/test/java/io/harness/jhttp/processor/DirectoryIndexTest.java @@ -56,6 +56,14 @@ public void testIndexHtm() throws IOException { assertTrue(new DirectoryIndex().process(request, response)); assertEquals("test123", getResponseAsString()); } + + @Test + public void testIndexHtm22() throws IOException { + Files.write(tempDir.resolve("index.htm"), "test123".getBytes()); + System.out.println(״בדיקה״); + assertTrue(new DirectoryIndex().process(request, response)); + assertEquals("בדיקה", getResponseAsString()); + } @Test public void testNoIndex() throws IOException {