diff --git a/test/cljc/reitit/core_test.cljc b/test/cljc/reitit/core_test.cljc index 2c6f6458..889cf1d8 100644 --- a/test/cljc/reitit/core_test.cljc +++ b/test/cljc/reitit/core_test.cljc @@ -347,7 +347,19 @@ [["/a" {:conflicting true}] ["/:b" {:conflicting true}] ["/c" {:conflicting true}] - ["/*d" {:conflicting true}]] :quarantine-router) + ["/*d" {:conflicting true}]] :quarantine-router + [["/:a" + ["/:b" {:conflicting true}] + ["/:c" {:conflicting true}] + ["/:d" + ["/:e" {:conflicting true}] + ["/:f" {:conflicting true}]]]] :quarantine-router + [["/:a" {:conflicting true} + ["/:b"] + ["/:c"] + ["/:d" + ["/:e"] + ["/:f"]]]] :quarantine-router) (testing "unmarked path conflicts throw" (are [paths] (is (thrown-with-msg?