Commit 878b812
committed
Fix: Correct test expectation in DeviceNameFormatterTest
The formatDeviceName method only capitalizes the first letter of each word,
it doesn't convert the entire word to uppercase.
Changed test expectation:
- Expected: 'Nexus 5X' (wrong)
- Actual: 'Nexus 5x' (correct)
The method behavior is correct: 'nexus_5x' → 'Nexus 5x'
Only the first character of each word is capitalized.1 parent b325bf3 commit 878b812
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments