Skip to content

Apache Lucene open-source search software

fix typo

Michael McCandlessf12b4ab2ff28
diff --git a/lucene/src/test/org/apache/lucene/index/TestDocsAndPositions.java b/lucene/src/test/org/apache/lucene/index/TestDocsAndPositions.java
index 654e33dfb52..a63e63db589 100644
--- a/lucene/src/test/org/apache/lucene/index/TestDocsAndPositions.java
+++ b/lucene/src/test/org/apache/lucene/index/TestDocsAndPositions.java
@@ -111,7 +111,7 @@ public class TestDocsAndPositions extends LuceneTestCase {
* random. All positions for that number are saved up front and compared to
* the enums positions.
*/
- public void testRandomPositons() throws IOException {
+ public void testRandomPositions() throws IOException {
Directory dir = newDirectory();
RandomIndexWriter writer = new RandomIndexWriter(random, dir,
newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(