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

BUG: Fix ctkSettingsPanelTest reading settings file as text #1176

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Jan 14, 2024

This ensures newlines are always read as /n independently of the platform.

It fixes errors like the following:

126: FAIL!  : ctkSettingsPanelTester::testChangeProperty(null none changed obj) Compared values are not the same
126:    Actual   (currentSettingContent)             : "[General]\r\nproperty=2\r\n"

This ensures newlines are always read as `/n` independently of the platform.

It fixes errors like the following:

```
126: FAIL!  : ctkSettingsPanelTester::testChangeProperty(null none changed obj) Compared values are not the same
126:    Actual   (currentSettingContent)             : "[General]\r\nproperty=2\r\n"
```
@jcfr jcfr enabled auto-merge (rebase) January 14, 2024 05:15
@jcfr jcfr merged commit fff6977 into commontk:master Jan 14, 2024
3 checks passed
@jcfr jcfr deleted the fix-ctkSettingsPanelTest-windows branch January 14, 2024 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant