-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: test for delete filter command #8396
Conversation
Signed-off-by: Yana-Gupta <yanagupta897@gmail.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.
Gosh, I can't quite tell what the change is here...
Added space empty space |
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.
@Yana-Gupta with or without these spaces the testcase still passes
some tests are failing here |
@Yana-Gupta are copying the output from the terminal to the golden file? |
@Yana-Gupta if so then copying output from terminal to the golden file doesn't copy the exact output generated by CLI. in order to get exact output in golden file use output operator |
@zakisk Thanks for informing |
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 still don't see a difference... what was changed here?
@Yana-Gupta what did you change in this PR from what is in |
only an empty line difference was changed, before it was not there in |
@Yana-Gupta Let's discuss this on Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :) |
Thanks @vishalvivekm it was already discussed earlier on Meshery build and release call. |
Sounds real good. Or do you mean that you removed an extraneous line return? |
@Yana-Gupta Thanks i see what you meant by this indent you made. The test passed with the additional changes i made |
I adjusted the lines to pass the test case.. but I have added space to pass the testcase in the testdata files.. I don't know why the changes are not same as of my local system |
I was able to sort that out in this pr, but other changes are still ongoing in it |
@Yana-Gupta when working with text files or string data that might be used across different systems, newline representations are used in a specific context, newline representations can lead to compatibility issues, especially when comparing or processing texts across platforms. |
Notes for Reviewers
This PR fixes failing test in delete_test.go
Signed commits