diff options
| author | Russ White <russ@riw.us> | 2017-07-14 08:00:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-14 08:00:43 -0400 |
| commit | 28bd1c1158c10268655878d12e5d8f17737de1bb (patch) | |
| tree | 576ef3527922cd2a0fec59fadf1cff947e8f2079 /tests/lib/cli/test_cli.c | |
| parent | eef83e96f7141c8b016462195e01b824c600c89e (diff) | |
| parent | 28b672fcd33f328964c91f0a3d06cd904bddad42 (diff) | |
Merge pull request #813 from opensourcerouting/newline-redux
newline redux
Diffstat (limited to 'tests/lib/cli/test_cli.c')
| -rw-r--r-- | tests/lib/cli/test_cli.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/cli/test_cli.c b/tests/lib/cli/test_cli.c index 43366d49e2..a4d3fb4e8e 100644 --- a/tests/lib/cli/test_cli.c +++ b/tests/lib/cli/test_cli.c @@ -47,10 +47,10 @@ DEFPY(magic_test, magic_test_cmd, "1\n2\n3\n4\n5\n") { char buf[256]; - vty_outln(vty, "def: %s", self->string); - vty_outln(vty, "num: %ld", magic); - vty_outln(vty, "ipv4: %s", prefix2str(ipv4net, buf, sizeof(buf))); - vty_outln(vty, "ipv6: %s", inet_ntop(AF_INET6, &ipv6, buf, sizeof(buf))); + vty_out(vty, "def: %s\n", self->string); + vty_out(vty, "num: %ld\n", magic); + vty_out(vty, "ipv4: %s\n", prefix2str(ipv4net, buf, sizeof(buf))); + vty_out(vty, "ipv6: %s\n", inet_ntop(AF_INET6, &ipv6, buf, sizeof(buf))); return CMD_SUCCESS; } |
