Skip to content

Fix bug where expect(nil).toAlways(equal(0)) would erroneously pass #340

Fix bug where expect(nil).toAlways(equal(0)) would erroneously pass

Fix bug where expect(nil).toAlways(equal(0)) would erroneously pass #340

Triggered via pull request February 24, 2024 18:15
Status Success
Total duration 45s
Artifacts

swiftlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint: Tests/NimbleTests/Matchers/ThrowAssertionTest.swift#L13
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Tests/NimbleTests/Matchers/ThrowAssertionTest.swift#L64
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Tests/NimbleTests/Matchers/ThrowErrorTest.swift#L131
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Tests/NimbleTests/PollingTest+Require.swift#L53
Redundant Optional Initialization Violation: Initializing an optional variable with nil is redundant (redundant_optional_initialization)
lint: Tests/NimbleTests/PollingTest+Require.swift#L220
Trailing Newline Violation: Files should have a single trailing newline (trailing_newline)
lint: Tests/NimbleTests/PollingTest+Require.swift#L15
Superfluous Disable Command Violation: SwiftLint rule 'type_body_length' did not trigger a violation in the disabled region; remove the disable command (superfluous_disable_command)
lint: Tests/NimbleTests/AsyncAwaitTest+Require.swift#L289
Trailing Newline Violation: Files should have a single trailing newline (trailing_newline)
lint: Tests/NimbleTests/AsyncAwaitTest+Require.swift#L9
Superfluous Disable Command Violation: SwiftLint rule 'type_body_length' did not trigger a violation in the disabled region; remove the disable command (superfluous_disable_command)
lint: Tests/NimbleTests/DSLTest.swift#L40
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Tests/NimbleTests/DSLTest.swift#L43
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)