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-160: Extend assert_array by not_contains(expected) validation #166

Merged
merged 3 commits into from
Apr 16, 2023

Conversation

MikeSchulze
Copy link
Owner

@MikeSchulze MikeSchulze commented Apr 16, 2023

assert_array([1, 2, 3, 4, 5]).not_contains([0, 6])

Why

We want to check if an array does not contain certain values

What

  • Added missing validaiton not_contains(expected)
  • Resolve error messages by formatting the values correctly

# Why
We want to check if an array does not contain certain values

# What
- Added missing validaiton `not_contains(expected)`
- Resolve error messages by formatting the values correctly
@MikeSchulze MikeSchulze merged commit 4ec231f into master Apr 16, 2023
@MikeSchulze MikeSchulze deleted the GD-164 branch April 16, 2023 15:00
@MikeSchulze MikeSchulze linked an issue Apr 16, 2023 that may be closed by this pull request
@MikeSchulze MikeSchulze changed the title GD-164: Extend assert_array by not_contains(expected) validation GD-160: Extend assert_array by not_contains(expected) validation Apr 16, 2023
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-160: Extend assert_array by do_not_contains([values ..])
1 participant