Skip to content

Commit

Permalink
Fix erroneous bug in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
MansMeg committed Oct 29, 2016
1 parent 367c220 commit 3c0998a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mallet/tests/testthat/test_mallet-io.R
Expand Up @@ -48,7 +48,7 @@ test_that(desc="load.mallet",{
new.topictype.after.load <- mallet.topic.words(new.topic.model, smoothed=FALSE, normalized=FALSE)

expect_equal(new.topictype.after.load, old.topictype)
expect_true(any(new.topictype.after.load != new.doctopic.before.load))
expect_true(any(new.topictype.after.load != new.topictype.before.load))
expect_equal(680947, sum(old.topictype))
expect_equal(680947, sum(new.topictype.after.load))
expect_equal(680947, sum(new.topictype.before.load))
Expand Down

0 comments on commit 3c0998a

Please sign in to comment.