diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-12-05 14:54:56 +0100 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-12-05 14:54:56 +0100 |
commit | 12cf0c7416ff3198951ae2b37b8f761397be2d67 (patch) | |
tree | f96e3e58db5748fd762496c2d95f62f11898d716 /opennlp-linguistics/src/test | |
parent | 67800d2ad80ffe945b99a78eea04b723166ee7f0 (diff) |
Correct argument order
Diffstat (limited to 'opennlp-linguistics/src/test')
-rw-r--r-- | opennlp-linguistics/src/test/java/com/yahoo/language/opennlp/OpenNlpTokenizationTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opennlp-linguistics/src/test/java/com/yahoo/language/opennlp/OpenNlpTokenizationTestCase.java b/opennlp-linguistics/src/test/java/com/yahoo/language/opennlp/OpenNlpTokenizationTestCase.java index cd2a0f73895..a5daf7f0531 100644 --- a/opennlp-linguistics/src/test/java/com/yahoo/language/opennlp/OpenNlpTokenizationTestCase.java +++ b/opennlp-linguistics/src/test/java/com/yahoo/language/opennlp/OpenNlpTokenizationTestCase.java @@ -246,7 +246,7 @@ public class OpenNlpTokenizationTestCase { } } if (orig != null) { - assertEquals("orig index: " + j, token.getOrig(), orig.get(j++)); + assertEquals("orig index: " + j, orig.get(j++), token.getOrig()); } } assertEquals("indexed length", indexed.size(), i); |