Skip to content

Nimble 14: Fix broken tests in swift 6 #393

Nimble 14: Fix broken tests in swift 6

Nimble 14: Fix broken tests in swift 6 #393

Triggered via pull request October 15, 2024 03:44
Status Success
Total duration 34s
Artifacts

swiftlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint: Sources/Nimble/Requirement.swift#L18
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L19
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L38
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L55
Large Tuple Violation: Tuples should have at most 2 members (large_tuple)
lint: Sources/Nimble/Requirement.swift#L40
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Sources/Nimble/DSL+Wait.swift#L45
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 54 lines (function_body_length)
lint: Sources/Nimble/DSL+Wait.swift#L55
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Sources/Nimble/DSL+Require.swift#L260
Line Length Violation: Line should be 160 characters or less; currently it has 169 characters (line_length)
lint: Sources/Nimble/DSL+Require.swift#L280
Line Length Violation: Line should be 160 characters or less; currently it has 169 characters (line_length)
lint: Sources/Nimble/Matchers/MatchError.swift#L62
Prefer Type Checking Violation: Prefer `a is X` to `a as? X != nil` (prefer_type_checking)