X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/392d1bec43dcfb806fbdf77380c334f2cdc84778..50d1792cc6f6958c314ee3470e986ddaa4e153a5:/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"); }