Skip to content

Commit 40ae53e

Browse files
committed
fix Java test suite
1 parent 264a814 commit 40ae53e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mllib/src/test/java/org/apache/spark/mllib/classification/JavaNaiveBayesSuite.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public Vector call(LabeledPoint v) throws Exception {
108108
@Test
109109
public void testModelTypeSetters() {
110110
NaiveBayes nb = new NaiveBayes()
111-
.setModelType("Bernoulli")
112-
.setModelType("Multinomial");
111+
.setModelType("bernoulli")
112+
.setModelType("multinomial");
113113
}
114114
}

0 commit comments

Comments
 (0)