Return a useful Got when Regexp fails

This commit is contained in:
2024-09-11 14:43:33 -06:00
parent ee544cd121
commit 1f746ae6de
2 changed files with 13 additions and 5 deletions

View File

@ -10,6 +10,7 @@ func TestRegexp(t *testing.T) {
t.Run("only searches the beginning of input", Todo)
t.Run("position is correct after match", Todo)
t.Run("fails on unexpected error", Todo)
t.Run("returns a useful Got value", Todo)
}
func TestRuneReader(t *testing.T) {