Commit 12396df
authored
Simplify test_utf. NFC (#24274)
- Use stringToUTFOnStack to avoid malloc and free
- Use separate params to `out` rather than using `join()`
- Use correct printf args to simplify C printf call
- Format JS to its more readable1 parent 4698834 commit 12396df
3 files changed
Lines changed: 8 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
25 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5618 | 5618 | | |
5619 | 5619 | | |
5620 | 5620 | | |
5621 | | - | |
5622 | | - | |
| 5621 | + | |
5623 | 5622 | | |
5624 | 5623 | | |
5625 | 5624 | | |
| |||
0 commit comments