-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Convenience Method to create a synonymmap object #16054
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems useful!
I think there is a small bug with more than 2 lines in the file, though.
@@ -0,0 +1,2 @@ | |||
United States, United States of America => USA | |||
Washington, Wash. => WA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a third line to this test to catch the "only replace a single \r" bug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xirzec Added the empty case also now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see it in the latest revision?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added an empty line at the end of the test file. It is not showing up in the diff.
Co-authored-by: Jeff Fisher <xirzec@xirzec.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good now, but I don't see the tests you added. Maybe you forgot to push them?
Add EventGrid examples (Azure#16054)
This PR is related to Issue #14664. This PR creates a convenience method that creates a synonymmap object.
A similar method is implemented in Java and could be found here: https://github.com/Azure/azure-sdk-for-java/pull/20984/files
@xirzec Please review and approve
@ramya-rao-a FYI....