Skip to content

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

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

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

Triggered via pull request February 25, 2024 05:44
Status Success
Total duration 43s
Artifacts

swiftlint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
lint: Sources/Nimble/DSL+AsyncAwait.swift#L123
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
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/Expectation.swift#L21
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
lint: Sources/Nimble/Utils/PollAwait.swift#L421
File Length Violation: File should contain 400 lines or less: currently contains 421 (file_length)
lint: Sources/Nimble/Utils/PollAwait.swift#L163
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#L48
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)