compile-fail tests ignore pattern after the first :

f7c2b89
Opened by Rafael Ávila de Espíndola at 2011-01-25 22:50:13

I am adding a test to compile-fail that has

// error-pattern: unresolved name: a

to test the test I changed the line to

// error-pattern: unresolved name: x

and to my surprise the test passed

changing it to something like

// error-pattern: unresolved namex: a

correctly causes it to fail