Skip to content

Commit f2a7b51

Browse files
committed
fix issue with Corpus creation in test
1 parent dc60426 commit f2a7b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ using TextAnalysis
2727
@test size(test2) == (1, 11)
2828

2929
test_doc3 = ngrams.(
30-
Corpus(NGramDocument("Another sentence ok"), NGramDocument("Listen Sam, today is not the day."))
30+
Corpus([NGramDocument("Another sentence ok"), NGramDocument("Listen Sam, today is not the day.")])
3131
)
3232
test3 = transform(test_machine, test_doc3)
3333
@test sum(test3, dims=2)[1] == 0.0

0 commit comments

Comments
 (0)