Skip to content

Make a test that tests whether the names of Regex are capitalised #205

@bee-san

Description

@bee-san

When someone submits a regex with:

"name": "all lowercase regex"

The test should fail and instead should ask for:

"name": "All Lowercase Regex"

See:
https://www.geeksforgeeks.org/title-in-python/

Original mention of issue

As you are already enforcing the leading ^ and ending $ in regex and testing it. This could also be integrated as a test. (Like name.split(" "), iterate and maybe ignore single letter words)

Yes, we should have good regex.json tests.

Originally posted by @piatrashkakanstantinass in #204 (comment)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions