Skip to content

Commit 9afa335

Browse files
committed
fix test case for nginx 1.18.0
1 parent 14545a2 commit 9afa335

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/clojure/nginx/clojure/test_all.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,8 @@
800800
(debug-println r)
801801
(debug-println "=================/javaaccess/basic1/small2.html=============================")
802802
(is (= 404 (:status r)))
803-
(is (= "162" (h "content-length")) )))
803+
;; 146 nginx 1.18.0, 162 ngin 1.14.2
804+
(is (= "146" (h "content-length")) )))
804805

805806
(testing "access basic auth-fail with 401"
806807
(let [r (client/get (str "http://" *host* ":" *port* "/javaaccess/basic1/small2.html") {:coerce :unexceptional :follow-redirects false, :basic-auth ["xfeep" "xxxxx!"] :throw-exceptions false})

0 commit comments

Comments
 (0)