flink-cdc icon indicating copy to clipboard operation
flink-cdc copied to clipboard

[cdc-composer][tests] Refactor newline handling for cross-platform compatibility

Open Cqz666 opened this issue 1 year ago • 3 comments

The hardcoded '\n' character was causing failures in unit tests on Windows platforms. Replace hardcoded newline character '\n' with 'System.lineSeparator()' to improve code portability across different operating systems.

Cqz666 avatar Dec 20 '23 07:12 Cqz666

CC @PatrickRen

Cqz666 avatar Dec 20 '23 07:12 Cqz666

@leonardBang

Cqz666 avatar Dec 26 '23 01:12 Cqz666

Thanks for @Cqz666's contribution, could you please rebase this PR with latest master branch before it could be merged?

yuxiqian avatar Apr 26 '24 05:04 yuxiqian

This pull request has been automatically marked as stale because it has not had recent activity for 60 days. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Jul 17 '24 00:07 github-actions[bot]