test: Fix botched error message in compile-fail test