From 529cb35914747e3e12d08e87d626444ebbc5811b Mon Sep 17 00:00:00 2001 From: nofarb Date: Fri, 28 Apr 2023 18:28:22 -0500 Subject: [PATCH] Update DirectoryIndexTest.java --- .../io/harness/jhttp/processor/DirectoryIndexTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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 {