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

issue #443: quote Y and N when dumping #641

Merged
merged 2 commits into from
Jan 17, 2024
Merged

Conversation

ColinDKelley
Copy link
Contributor

Building on #515, this has the uppercase fixes as well for #443.

end

def test_n_is_quoted
assert_match(/"n"/, Psych.dump("n"))
assert_match(/"N"/, Psych.dump("N"))
end
Copy link
Contributor Author

@ColinDKelley ColinDKelley Jul 19, 2023

Choose a reason for hiding this comment

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

@tenderlove The test below encompasses these 2 special cases, so I'd be happy to drop these 2 if you're good with it.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, the test you have below seems good enough

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great, I dropped the 2 special tests, but left the comment (updated for uppercase): 6750b35

@ColinDKelley
Copy link
Contributor Author

@tenderlove Anything else needed before merging this PR?

@ColinDKelley
Copy link
Contributor Author

@tenderlove Just checking in here. Anything else needed before merging this PR?

1 similar comment
@ColinDKelley
Copy link
Contributor Author

@tenderlove Just checking in here. Anything else needed before merging this PR?

@tenderlove tenderlove merged commit 0ebd571 into ruby:master Jan 17, 2024
@ColinDKelley ColinDKelley deleted the quote-Y-N branch January 24, 2024 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants