From d58982a6f6f513ef5fdfcfbdf0af09467f94a2ae Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sun, 8 Dec 2019 18:07:04 +0300 Subject: [PATCH] vweb: fix tests --- vlib/vweb/vweb.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlib/vweb/vweb.v b/vlib/vweb/vweb.v index 8d2e656fdd..200e20b1be 100644 --- a/vlib/vweb/vweb.v +++ b/vlib/vweb/vweb.v @@ -192,7 +192,8 @@ pub fn run(app mut T, port int) { conn.write(HTTP_404) or {} } conn.close() or {} - app.reset() + reset := 'reset' + app.$reset() } }