Skip to content
New issue

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

GD-181: Don't allow spy on singletons #183

Merged
merged 2 commits into from
May 16, 2023
Merged

GD-181: Don't allow spy on singletons #183

merged 2 commits into from
May 16, 2023

Conversation

MikeSchulze
Copy link
Owner

Why

When a tester try to spy on a singleton an parser error is shown, but it should push an error do inform is not allowed to spy on a singleton

What

Added validation on spy builder to verify if the given instance a singleton and stop building a spy on it

# Why
When a tester try to spy on a singleton an parser error is shown, but it should push an error do inform is not allowed to spy on a singleton

# What
Added validation on spy builder to verify if the given instance a singleton and stop building a spy on it
@MikeSchulze MikeSchulze self-assigned this May 16, 2023
@MikeSchulze MikeSchulze linked an issue May 16, 2023 that may be closed by this pull request
@MikeSchulze MikeSchulze merged commit a930456 into master May 16, 2023
@MikeSchulze MikeSchulze deleted the GD-181 branch May 16, 2023 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GD-181: Spying on Singleton Input results in error
1 participant