X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/9df73edf21694f640f489f84755d19ea5ca9ddaa..fadd7479bf73670e544e340f0f8944858501f7be:/test-strsep.c?ds=inline diff --git a/test-strsep.c b/test-strsep.c index 4c57c13e..18bbb109 100644 --- a/test-strsep.c +++ b/test-strsep.c @@ -6,5 +6,5 @@ main(void) char buf[6] = "aybxc"; char *workp = buf; char *retp = strsep(&workp, "xy"); - return( ! (retp == buf && '\0' == buf[1] && buf + 2 == workp)); + return ! (retp == buf && buf[1] == '\0' && workp == buf + 2); }