]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: typo in tests
authorDonald Lee <dlqs@gmx.com>
Fri, 23 Jul 2021 19:09:49 +0000 (03:09 +0800)
committerDonald Lee <dlqs@gmx.com>
Fri, 23 Jul 2021 19:35:09 +0000 (03:35 +0800)
Signed-off-by: Donald Lee <dlqs@gmx.com>
tests/lib/test_frrscript.c

index 2d5746b5872419472ba5b4845705665e47134d29..44e644c52a00025f3b72b7384eaaf2e5ec84af12 100644 (file)
@@ -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);