Commit ac7ed18
committed
use platform-specific line separator for hint messages
The synthetic class hint message was using hardcoded \n line separators,
which caused test failures on Windows CI. Windows uses \r\n as line separator,
but the test framework splits violation messages using System.lineSeparator().
This mismatch prevented proper message parsing and matching in integration tests.
Changed SYNTHETIC_CLASS_HINT_MESSAGE from a static constant with hardcoded \n
to a dynamic method getSyntheticClassHintMessage() that uses System.lineSeparator().
This ensures the hint message uses the correct platform-specific line separator,
allowing tests to pass on all platforms (macOS, Linux, and Windows).
Signed-off-by: chadongmin <cdm2883@naver.com>1 parent fc28063 commit ac7ed18
1 file changed
Lines changed: 10 additions & 8 deletions
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1308 | 1308 | | |
1309 | 1309 | | |
1310 | 1310 | | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | | - | |
1316 | | - | |
1317 | | - | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
| 1319 | + | |
1318 | 1320 | | |
1319 | 1321 | | |
1320 | 1322 | | |
| |||
1332 | 1334 | | |
1333 | 1335 | | |
1334 | 1336 | | |
1335 | | - | |
| 1337 | + | |
1336 | 1338 | | |
1337 | 1339 | | |
1338 | 1340 | | |
| |||
0 commit comments