From: Donald Lee Date: Fri, 23 Jul 2021 19:09:49 +0000 (+0800) Subject: lib: typo in tests X-Git-Tag: base_8.1~259^2~10 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=26693b3afce6abfaf77ac4833ce9f594ef7118b1;p=matthieu%2Ffrr.git lib: typo in tests Signed-off-by: Donald Lee --- diff --git a/tests/lib/test_frrscript.c b/tests/lib/test_frrscript.c index 2d5746b587..44e644c52a 100644 --- a/tests/lib/test_frrscript.c +++ b/tests/lib/test_frrscript.c @@ -37,7 +37,7 @@ int main(int argc, char **argv) result = frrscript_call(fs, "foo", ("a", &a), ("b", &b)); assert(result == 0); assert(a == 101); - assert(b == 202); + assert(b == 201); a = 100, b = 200; @@ -49,7 +49,7 @@ int main(int argc, char **argv) /* a should not occur in the returned table in script */ assert(a == 100); - assert(b == 202); + assert(b == 201); assert(*cptr == 303); XFREE(MTYPE_TMP, cptr);