Skip to content

Bug on tests on Julia 1.10#59

Merged
ocots merged 7 commits intodevelopfrom
fixbugs
Feb 10, 2026
Merged

Bug on tests on Julia 1.10#59
ocots merged 7 commits intodevelopfrom
fixbugs

Conversation

@ocots
Copy link
Copy Markdown
Member

@ocots ocots commented Feb 10, 2026

  • FieldError was introduced in Julia 1.12, but tests need to work on 1.10
  • On Julia 1.10, accessing non-existent NamedTuple fields throws ErrorException
  • Replace @test_throws FieldError with @test_throws Exception in:
    • test/suite/integration/test_comprehensive_validation.jl (12 occurrences)
    • test/extras/mode_strict_permissive/test_all_construction_methods.jl (10 occurrences)
  • test_introspection.jl already used compatible approach
  • All 345 tests pass locally, should work on both Julia 1.10 and 1.12+

- FieldError was introduced in Julia 1.12, but tests need to work on 1.10
- On Julia 1.10, accessing non-existent NamedTuple fields throws ErrorException
- Replace @test_throws FieldError with @test_throws Exception in:
  * test/suite/integration/test_comprehensive_validation.jl (12 occurrences)
  * test/extras/mode_strict_permissive/test_all_construction_methods.jl (10 occurrences)
- test_introspection.jl already used compatible approach
- All 345 tests pass locally, should work on both Julia 1.10 and 1.12+
- Replace French words with English equivalents in source and test files
- Fixed: 'concrets' -> 'concrete', 'inferrable' -> 'inferable'
- Fixed: 'environnement' -> 'environment', 'registre' -> 'registry'
- Fixed: 'invalide' -> 'invalid', 'explicite' -> 'explicit'
- Fixed: 'fonction' -> 'function', 'projet' -> 'project'
- Fixed: 'Consistance' -> 'Consistency', 'Comparaison' -> 'Comparison'
- Updated comments and strings in test files to use English
- Partial fix for extras directory - more files need attention
- Remove all .bak backup files containing French text
- Use typos --write-changes to automatically fix remaining French words
- Fix remaining issues in README.md and test_route_to_simple.jl
- Spell check now passes with zero errors
- All source code and documentation now English-only
- Replace 'commentaires' with 'commentaries'
- Use typos --write-changes to fix all remaining French words
- Spell check now passes with zero errors
@ocots ocots merged commit 3419b9c into develop Feb 10, 2026
7 checks passed
@ocots ocots deleted the fixbugs branch February 10, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant