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

fix: add testcast for PutInteger #1323

Merged
merged 1 commit into from
Feb 20, 2024
Merged

fix: add testcast for PutInteger #1323

merged 1 commit into from
Feb 20, 2024

Conversation

atgane
Copy link
Contributor

@atgane atgane commented Jan 31, 2024

Recreated the PR for #1277.

@atgane atgane requested a review from a team as a code owner January 31, 2024 07:52
@ti-mo ti-mo requested a review from lmb February 1, 2024 16:01
internal/kconfig/kconfig.go Outdated Show resolved Hide resolved
internal/kconfig/kconfig.go Show resolved Hide resolved
@atgane atgane force-pushed the feature/integer branch 4 times, most recently from 82fa5ac to 9733fef Compare February 8, 2024 14:51
@atgane atgane requested a review from ti-mo February 13, 2024 14:03
@ti-mo ti-mo linked an issue Feb 20, 2024 that may be closed by this pull request
2 tasks
Fixes: cilium#1323

Signed-off-by: atgane <hyper201286@gmail.com>
Co-authored-by: Timo Beckers <timo@isovalent.com>
@ti-mo
Copy link
Collaborator

ti-mo commented Feb 20, 2024

@atgane I've squashed your commits and cut down on the size of the test suite. Try to avoid testing error strings, it's of questionable benefit and makes errors annoying to modify.

I split off a few negative tests into TestPutIntegerError.

@ti-mo ti-mo merged commit 8b285e7 into cilium:main Feb 20, 2024
15 checks passed
@atgane
Copy link
Contributor Author

atgane commented Feb 21, 2024

@atgane I've squashed your commits and cut down on the size of the test suite. Try to avoid testing error strings, it's of questionable benefit and makes errors annoying to modify.

I split off a few negative tests into TestPutIntegerError.

Thank you for your feedback

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.

kconfig: validate that PutInteger doesn't truncate data
2 participants