Skip to content

Commit da9fee4

Browse files
committed
Change test of combinations function introduced in #6
1 parent 1d954d0 commit da9fee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/basic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ using Base.Test
77

88
#combinations
99
@test collect(combinations([])) == []
10-
@test collect(combinations("abc")) == ["a","b","c","ab","ac","bc","abc"]
10+
@test collect(combinations(['a', 'b', 'c'])) == Vector{Char}[['a'],['b'],['c'],['a','b'],['a','c'],['b','c'],['a','b','c']]
1111

1212
# derangement
1313
@test derangement(4) == 9

0 commit comments

Comments
 (0)