X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/392d1bec43dcfb806fbdf77380c334f2cdc84778..0d897066e759e22608618b2cfba20fc09d08f1c3:/tests/j4cbo.c 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"); }