diff --git a/ezyhttp-core/src/test/java/com/tvd12/ezyhttp/core/test/net/URITreeTest.java b/ezyhttp-core/src/test/java/com/tvd12/ezyhttp/core/test/net/URITreeTest.java index c616be1..c8689f6 100644 --- a/ezyhttp-core/src/test/java/com/tvd12/ezyhttp/core/test/net/URITreeTest.java +++ b/ezyhttp-core/src/test/java/com/tvd12/ezyhttp/core/test/net/URITreeTest.java @@ -80,4 +80,16 @@ public void matchAllTest() { Asserts.assertNotNull(tree.getMatchedURI("/market/items/hello/java/docs/index.html")); Asserts.assertNotNull(tree.getMatchedURI("/market/items/hello/java/docs/com/tvd12/index.html")); } + + @Test + public void matchUpperCaseTest() { + // given + URITree tree = new URITree(); + tree.addURI("/api/v1/oa/{code}/webhook"); + + // when + // then + System.out.println(tree); + Asserts.assertNotNull(tree.getMatchedURI("/api/v1/oa/ZALO/webhook")); + } }