This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Commit 5e78f534 authored by Michael Breu's avatar Michael Breu
Browse files

More negative tests

parent 822cc3b1
......@@ -62,7 +62,7 @@ class ExerciseIdTests {
}
@ParameterizedTest
@ValueSource(strings = { "=", ":path", "3x2", "3x2:/asd", "asdf=asd:30" })
@ValueSource(strings = { "=", ":path", "3x2", "3x2:/asd", "asdf=asd:30", "cyc:[123]abd", "[123", "123]", "[aaa]"})
public void parseCorruptIds(String corruptIds) throws ParseException {
Assertions.assertThrows(ParseException.class, () -> ExerciseId.fromString(corruptIds));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment