adammcarter / adammcarter/swift-snapshot-testing-macros

Fix it doesn't play well with trivia when expanded in test 'testEnumInstanceFunction()'

Đang mở
#23 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug diagnostics
Ngôn ngữ chính
Swift
Star
59
Fork
3
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Specifically for diagnostic 'Cannot create a test for instance functions on types that cannot be initialised'

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
swift
Lĩnh vực
testing
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.