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

Improve shouldBe array overloads #339

Merged
merged 1 commit into from
May 23, 2018
Merged

Improve shouldBe array overloads #339

merged 1 commit into from
May 23, 2018

Conversation

ajalt
Copy link
Contributor

@ajalt ajalt commented May 23, 2018

This PR contains three changes to the shouldBe overloads for arrays:

  • It adds overloads for the remaining array types (float, char, short, and byte)
  • It changes the types to be nullable
  • It uses asList instead of toList to avoid copying the arrays.

This PR contains three changes to the `shouldBe` overloads for arrays:

* It adds overloads for the remaining array types (float, char, short, and
byte)
* It changes the types to be nullable
* It uses `asList` instead of `toList` to avoid copying the arrays.
@sksamuel
Copy link
Member

Awesome thanks!

@sksamuel sksamuel merged commit b74cc26 into kotest:master May 23, 2018
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.

2 participants