exercism / exercism/r

rna-transcription : add specific text error on expect_error

Open
#105 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
31
Forks
46
Avg merge
4h 25m
Merged PRs (30d)
8

Description

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")

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.