From e9f9f27e49c9cd4dcdc34ddb53510262d93160d8 Mon Sep 17 00:00:00 2001 From: Joe Conigliaro Date: Fri, 1 Jan 2021 08:01:00 +1100 Subject: [PATCH] checker: fix formatting in tests/web_routing_checks.out --- vlib/v/checker/tests/vweb_routing_checks.out | 24 ++++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/vlib/v/checker/tests/vweb_routing_checks.out b/vlib/v/checker/tests/vweb_routing_checks.out index 7580475ce3..96c0aa9663 100644 --- a/vlib/v/checker/tests/vweb_routing_checks.out +++ b/vlib/v/checker/tests/vweb_routing_checks.out @@ -1,14 +1,14 @@ -vlib/v/checker/tests/vweb_routing_checks.vv:22:1: error: mismatched parameters count between vweb method `App.bar` (1) and route attribute ['/bar'] (0) - 20 | // segfault because path taks 0 vars and fcn takes 1 arg - 21 | ['/bar'] - 22 | pub fn (mut app App) bar(a string) vweb.Result { +vlib/v/checker/tests/vweb_routing_checks.vv:21:1: error: mismatched parameters count between vweb method `App.bar` (1) and route attribute ['/bar'] (0) + 19 | // segfault because path taks 0 vars and fcn takes 1 arg + 20 | ['/bar'] + 21 | pub fn (mut app App) bar(a string) vweb.Result { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 23 | app.html('works') - 24 | return vweb.Result{} -vlib/v/checker/tests/vweb_routing_checks.vv:29:1: error: mismatched parameters count between vweb method `App.cow` (0) and route attribute ['/cow/:low'] (1) - 27 | // no segfault, but it shouldnt compile - 28 | ['/cow/:low'] - 29 | pub fn (mut app App) cow() vweb.Result { + 22 | app.html('works') + 23 | return vweb.Result{} +vlib/v/checker/tests/vweb_routing_checks.vv:28:1: error: mismatched parameters count between vweb method `App.cow` (0) and route attribute ['/cow/:low'] (1) + 26 | // no segfault, but it shouldnt compile + 27 | ['/cow/:low'] + 28 | pub fn (mut app App) cow() vweb.Result { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 30 | app.html('works') - 31 | return vweb.Result{} + 29 | app.html('works') + 30 | return vweb.Result{}