]> git.droids-corp.org - protos/libecoli.git/commitdiff
fix typos in str node test
authorOlivier Matz <zer0@droids-corp.org>
Wed, 28 Feb 2018 19:58:58 +0000 (20:58 +0100)
committerOlivier Matz <zer0@droids-corp.org>
Wed, 28 Feb 2018 19:58:58 +0000 (20:58 +0100)
lib/ecoli_node_str.c

index 5755ec73969bf8aaf5da5f0868e5efb8eb813eb0..3cbc31b0ffca1f0c972ad9176243acb8745823a2 100644 (file)
@@ -222,20 +222,16 @@ static int ec_node_str_testcase(void)
                "");
        ret |= EC_TEST_CHECK_COMPLETE(node,
                "", EC_NODE_ENDLIST,
-               "foo", EC_NODE_ENDLIST,
-               "foo");
+               "foo", EC_NODE_ENDLIST);
        ret |= EC_TEST_CHECK_COMPLETE(node,
                "f", EC_NODE_ENDLIST,
-               "foo", EC_NODE_ENDLIST,
-               "foo");
+               "foo", EC_NODE_ENDLIST);
        ret |= EC_TEST_CHECK_COMPLETE(node,
                "foo", EC_NODE_ENDLIST,
-               "foo", EC_NODE_ENDLIST,
-               "foo");
+               "foo", EC_NODE_ENDLIST);
        ret |= EC_TEST_CHECK_COMPLETE(node,
                "x", EC_NODE_ENDLIST,
-               EC_NODE_ENDLIST,
-               "");
+               EC_NODE_ENDLIST);
        ec_node_free(node);
 
        return ret;