Stream: t-compiler

Topic: mandatory //~ ERROR in ui tests


oli (Nov 26 2018 at 16:25, on Zulip):

I'd like to see the //~ ERROR lines mandatory, too

I found the issue, it's just hard to write tests for our test suite :confused: so not sure how to write a regression test

nikomatsakis (Nov 26 2018 at 19:57, on Zulip):

@Oli yeah; you might be able to use the // should-panic comment

nikomatsakis (Nov 26 2018 at 19:57, on Zulip):

which indicates that the test itself should fail

nikomatsakis (Nov 26 2018 at 19:57, on Zulip):

and was meant for this purpose

nikomatsakis (Nov 26 2018 at 19:57, on Zulip):

er, is that what I calle it

nikomatsakis (Nov 26 2018 at 19:58, on Zulip):

nope, // should-fail

Last update: Nov 20 2019 at 01:10UTC