svoid assertEndsWith(S a, S b) { if (!endsWith(a, b)) fail(quote(a) + " does not end with " + quote(b)); }