test: Phase 99 extend next_non_ws to 3 cases (VM+LLVM)
3ケース固定: - 既存: " hi" → 2, " \t" → -1 - 新規: "\n\r\tX" → 3 (mixed newline/CR/tab) VM+LLVM EXE parity完全対応 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@ -24,8 +24,9 @@ static box Main {
|
||||
|
||||
main() {
|
||||
// Input mirrors MiniJsonLoader.next_non_ws
|
||||
print(next_non_ws(" " + " " + "hi")) // expect 2
|
||||
print(next_non_ws(" " + "\t")) // expect -1
|
||||
print(next_non_ws(" " + " " + "hi")) // expect 2
|
||||
print(next_non_ws(" " + "\t")) // expect -1
|
||||
print(next_non_ws("\n" + "\r" + "\t" + "X")) // expect 3 (mixed newline/CR/tab)
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user