Commit 7494309
test: use hardcoded version with x-release-please markers
Update User-Agent header tests to assert exact version string instead of
just validating semver format. This approach makes expectations clearer
and integrates with release-please for automatic version updates.
Changes:
- Replace semver validation with exact version assertions
- Add x-release-please-start-version/end markers around version strings
- Add test/flagsmith_client_test.exs to extra-files in release-please config
- Simplify test logic by removing unnecessary string parsing
Co-authored-by: Claude (Anthropic AI) <noreply@anthropic.com>
Co-authored-by: Matthew Elwell <matthew.elwell@flagsmith.com>
Co-authored-by: Kim Gustyr <kim.gustyr@flagsmith.com>1 parent e7b2ff9 commit 7494309
2 files changed
Lines changed: 16 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | | - | |
444 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
445 | 446 | | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
| 447 | + | |
| 448 | + | |
450 | 449 | | |
451 | 450 | | |
452 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
453 | 456 | | |
454 | 457 | | |
455 | 458 | | |
| |||
459 | 462 | | |
460 | 463 | | |
461 | 464 | | |
462 | | - | |
463 | | - | |
| 465 | + | |
464 | 466 | | |
465 | 467 | | |
466 | 468 | | |
| |||
0 commit comments