Commit 525a1b0
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 4116228 commit 525a1b0
2 files changed
+5
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 35 | | |
47 | 36 | | |
48 | 37 | | |
| |||
64 | 53 | | |
65 | 54 | | |
66 | 55 | | |
67 | | - | |
68 | | - | |
| 56 | + | |
69 | 57 | | |
70 | 58 | | |
71 | | - | |
| 59 | + | |
72 | 60 | | |
73 | 61 | | |
74 | 62 | | |
| |||
78 | 66 | | |
79 | 67 | | |
80 | 68 | | |
81 | | - | |
82 | | - | |
| 69 | + | |
83 | 70 | | |
84 | 71 | | |
85 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 35 | | |
47 | 36 | | |
48 | 37 | | |
| |||
309 | 298 | | |
310 | 299 | | |
311 | 300 | | |
312 | | - | |
| 301 | + | |
313 | 302 | | |
314 | 303 | | |
315 | | - | |
| 304 | + | |
316 | 305 | | |
317 | 306 | | |
318 | 307 | | |
| |||
374 | 363 | | |
375 | 364 | | |
376 | 365 | | |
377 | | - | |
378 | 366 | | |
379 | 367 | | |
380 | 368 | | |
| |||
0 commit comments