-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add test cases to TestEmit in attribute
#7751
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
Conversation
Added test case for Key.Emit() with BoolSliceValue.
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.
Pull request overview
This PR adds test coverage for BoolSliceValue in the Key.Emit() method, which was previously missing from the test suite.
- Adds a new test case for
BoolSliceValuetype in theTestEmitfunction - The test verifies that
BoolSliceValueemits the correct string representation format
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
flc1125
left a comment
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.
Based on the tests for Emit(), similar ones such as IntValue and IntSliceValue are also missing. Would you be willing to add those as well.
pellared
left a comment
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.
Please fix the lint issue. Otherwise, LGTM
Hey, tried that i am new to contributing to otel where should move from this file . I want to add features /fix bugs but I was currently only able to understand the code I edited |
TestEmit in attribute
Co-authored-by: Tyler Yahn <[email protected]>
Add test cases for
Key.Emit()values:BoolSliceValueIntValueIntSliceValue