X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/392d1bec43dcfb806fbdf77380c334f2cdc84778..fb33d46774e2f2d95d54e7eb32754048624a63ca:/tests/j4cbo.c?ds=sidebyside diff --git a/tests/j4cbo.c b/tests/j4cbo.c index 3a1382e..b7407d2 100644 --- a/tests/j4cbo.c +++ b/tests/j4cbo.c @@ -165,8 +165,10 @@ int h1100(bitpos) void j4cbo() { - if (h(0) != 151) - puts("Result was not 151\r\n"); - else - puts("Result was 151\r\n"); + int x; + if ((x = h(0)) != 151) { + puthex(x); + puts(" -> FAIL\n"); + } else + puts("PASS\n"); }