Commit 9957ba8
committed
test(common): Simplify next_version tests - use fixed version string
why: The _get_next_tmux_version() helper duplicates version parsing logic
already in common.py and is unnecessary for testing prefix stripping.
what:
- Remove _get_next_tmux_version() helper from both test files
- Use fixed "3.9" version string instead of calculated version
- Remove unrelated has_gt_version(TMUX_MAX_VERSION) assertion
- Test focuses on parsing "next-X.Y" strings, not version comparison1 parent c5887b3 commit 9957ba8
2 files changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
| 56 | + | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
| 59 | + | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
| 69 | + | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
367 | 366 | | |
368 | 367 | | |
369 | 368 | | |
| |||
0 commit comments