We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generating a mock of a class with the following properties will result in a compile-time error in the callCount section.
var isOpen:Bool { return true }
Error:. Cannot observe read-only property 'isOpen'; it can't change
The relevant code is this part: override var isOpen: Bool { didSet { isOpenSetCallCount += 1 }
I think callCount is not necessary for read-only Computed Property.
mockolo: 2.0.0 (latest in Homebrew) macOS 13.5 Swfit: 5.8.1 Xcode: 14.3.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Generating a mock of a class with the following properties will result in a compile-time error in the callCount section.
var isOpen:Bool {
return true
}
Error:.
Cannot observe read-only property 'isOpen'; it can't change
The relevant code is this part:
override var isOpen: Bool { didSet { isOpenSetCallCount += 1 }
I think callCount is not necessary for read-only Computed Property.
mockolo: 2.0.0 (latest in Homebrew)
macOS 13.5
Swfit: 5.8.1
Xcode: 14.3.1
The text was updated successfully, but these errors were encountered: