-
Notifications
You must be signed in to change notification settings - Fork 371
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
SaveTo method, the whitespaces are missing #229
Comments
The problem is we don't check leading and trailing whitespaces in Line 383 in 09e0d86
and Line 426 in 09e0d86
|
test file_test.go#TestFile_WriteTo compares full.ini and golden file. They have key |
Thanks @prepodavan! Golden file is just a way to "cache" expected results, if the comparison failed in a desired way, we just need to update the golden file (with |
Describe the bug
Hi ,
As shown below, the reg_gsid value contains a blank space.
my.ini
As shown above, the blank space is gone when i use saveTo method.
Please, How to reverse the blank space when i use the method. Thanks a lot.
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Additional context
Add any other context about the problem here, or any suggestion to fix the problem.
The text was updated successfully, but these errors were encountered: