Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rna-transcription : add specific text error on expect_error #105

Open
amoradell opened this issue Aug 11, 2018 · 1 comment
Open

rna-transcription : add specific text error on expect_error #105

amoradell opened this issue Aug 11, 2018 · 1 comment

Comments

@amoradell
Copy link

Testing a to_rna solution with tio.run, I got a syntax error before stop() because student tests empty string instead of null.

Would it be possible to add a second argument to expect_error(to_rna(dna)) ?

Like expect_error(to_rna(dna), "invalid input")

@amoradell amoradell changed the title rna_transcription : add specific text error on expect_error rna-transcription : add specific text error on expect_error Aug 11, 2018
@katrinleinweber
Copy link
Contributor

Hello and thanks for this report :-)

Please read through the guide to contributing to test suites. I'm open to reviewing a PR that adds such a test to just the R track, if it isn't relevant to the problem spec generally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants