Skip to content

Commit

Permalink
Merge pull request #37 from niilohlin/nonEmpty-fix-iii
Browse files Browse the repository at this point in the history
nonEmpty should be on Collection
  • Loading branch information
niilohlin authored Dec 2, 2018
2 parents f452ee5 + bcee041 commit 0a5b7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tenta/Generators/Sequence+Generatable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public extension Generator {
}
}

public extension Generator where ValueToTest: RangeReplaceableCollection, ValueToTest.Element: Generatable {
public extension Generator where ValueToTest: Collection, ValueToTest.Element: Generatable {

func nonEmpty() -> Generator<ValueToTest> {
return filter { !$0.isEmpty }
Expand Down

0 comments on commit 0a5b7b8

Please sign in to comment.