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

Update escaping rules in io's rmRF #828

Merged
merged 13 commits into from
Jun 7, 2021
Merged

Update escaping rules in io's rmRF #828

merged 13 commits into from
Jun 7, 2021

Conversation

thboop
Copy link
Collaborator

@thboop thboop commented Jun 4, 2021

No description provided.

@thboop thboop requested a review from a team as a code owner June 4, 2021 02:35
@thboop thboop requested a review from ericsciple June 4, 2021 03:17
packages/io/src/io.ts Outdated Show resolved Hide resolved
process.env['test'] = oldEnv
})

it('Should throw for invalid characters', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not at all necessary, but you can parameterize tests with

it.each([`*`, `"`, `<`, `>` `|`, async (invalidChar) => { })

to avoid duplication

@thboop thboop merged commit c9af6bb into main Jun 7, 2021
@thboop thboop deleted the thboop/HandleEscaping branch June 7, 2021 18:16
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

Successfully merging this pull request may close these issues.

3 participants