Skip to content

[test] Add coverage for try_lock behavior - #59

Open
GabrielLidenor wants to merge 1 commit into
ruby:masterfrom
GabrielLidenor:58-add-try-lock-test
Open

[test] Add coverage for try_lock behavior#59
GabrielLidenor wants to merge 1 commit into
ruby:masterfrom
GabrielLidenor:58-add-try-lock-test

Conversation

@GabrielLidenor

Copy link
Copy Markdown

Adds coverage for try_lock behavior.

The test verifies that try_lock succeeds when unlocked and returns false when already locked.

Fixes #58

Verify that try_lock succeeds on an unlocked object and returns false when it is already locked.
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.

Add a test for Mutex_m#try_lock

1 participant