diff options
| author | William Casarin <jb55@jb55.com> | 2018-07-09 22:28:25 -0700 |
|---|---|---|
| committer | William Casarin <jb55@jb55.com> | 2018-07-09 22:31:48 -0700 |
| commit | 9593fc545950782ed75f12f53238b07885559b2b (patch) | |
| tree | 9c7c2f7cbb427c54e9184cb61eedce737a6cbc6f /ccan/tal/str/test/run-fmt-terminate.c | |
| parent | bd8c223756d2f912526ecef53bae0cc8e0c63442 (diff) | |
remove ccan for now
Diffstat (limited to 'ccan/tal/str/test/run-fmt-terminate.c')
| -rw-r--r-- | ccan/tal/str/test/run-fmt-terminate.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ccan/tal/str/test/run-fmt-terminate.c b/ccan/tal/str/test/run-fmt-terminate.c deleted file mode 100644 index 374ca03..0000000 --- a/ccan/tal/str/test/run-fmt-terminate.c +++ /dev/null @@ -1,22 +0,0 @@ -#include <ccan/tal/str/str.h> -#include <stdlib.h> -#include <stdio.h> -#include <ccan/tal/str/str.c> -#include <ccan/tap/tap.h> -#include "helper.h" - -/* Empty format string: should still terminate! */ -int main(void) -{ - char *str; - const char *fmt = ""; - - plan_tests(1); - /* GCC complains about empty format string, complains about non-literal - * with no args... */ - str = tal_fmt(NULL, fmt, ""); - ok1(!strcmp(str, "")); - tal_free(str); - - return exit_status(); -} |
