java.lang.AssertionError

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check your pattern declaration or check your assert declaration.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 526#244487816
    via GitHub by kostyfisik
    ,
  • GitHub comment 183#77323698
    via GitHub by smarthi
    ,
  • GitHub comment 51#125303049
    via GitHub by bermud
    ,
  • GitHub comment 3832#141981559
    via GitHub by hasancelik
    ,
    • java.lang.AssertionError: Russian: Incorrect match position markup (end) for rule Unify_Adj_NN_number[1], sentence: Желе́зные кровать. expected:<17> but was:<16> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.languagetool.rules.patterns.PatternRuleTest.testBadSentences(PatternRuleTest.java:338) at org.languagetool.rules.patterns.PatternRuleTest.testGrammarRulesFromXML(PatternRuleTest.java:273) at org.languagetool.rules.patterns.PatternRuleTest.runTestForLanguage(PatternRuleTest.java:198) at org.languagetool.rules.patterns.PatternRuleTest.runGrammarRulesFromXmlTestIgnoringLanguages(PatternRuleTest.java:149) at org.languagetool.rules.patterns.PatternRuleTest.main(PatternRuleTest.java:558)

    Users with the same issue

    pulse00
    4 times, last one,
    jf-ast
    3 times, last one,
    Dunmer
    74 times, last one,
    MoYapro
    3 times, last one,
    richard77
    1 times, last one,
    95 more bugmates