From ec405ba5367310d089fbb9e9e4c751fb25afcfb1 Mon Sep 17 00:00:00 2001 From: pluveto Date: Mon, 24 Apr 2023 14:48:09 +0800 Subject: [PATCH] f --- t/06-validate.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/06-validate.t b/t/06-validate.t index 74882415..dc99e485 100644 --- a/t/06-validate.t +++ b/t/06-validate.t @@ -225,7 +225,7 @@ error: unclosed character class local s = schema.new() s:add_field("http.headers.foo", "String") - local expr = [[http.headers.foo ~ "/\\\\/*user$"]] + local expr = [[http.headers.foo ~ "/\\/*user$"]] local r, err = router.validate(s, expr) ngx.say(r) ngx.say(err)