adammcarter / adammcarter/swift-snapshot-testing-macros
Fix it doesn't play well with trivia when expanded in test 'testEnumInstanceFunction()'
Ouverte
bug
diagnostics
- Langage dominant
- Swift
- Étoiles
- 59
- Forks
- 3
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Specifically for diagnostic 'Cannot create a test for instance functions on types that cannot be initialised'
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start with the testEnumInstanceFunction() test and reproduce the diagnostic “Cannot create a test for instance functions on types that cannot be initialised” while the expansion includes trivia. Inspect how the expanded test and diagnostic interact, then verify that the diagnostic remains correct after the fix.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- swift
- Domaine
- testing
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100