Back to LanguageTool Homepage - Privacy - Imprint

Test error


(Jan Schreiber) #1

When I run ./build.sh de test on the latest sources, I get the following error message:

[ERROR]   RuleMatchesAsJsonSerializerTest.testJson:49->assertContains:64 Did not find expected string '3.9-SNAPSHOT' in JSON:
{"software":{"name":"LanguageTool","version":"4.0-SNAPSHOT","buildDate":null,"apiVersion":1,"status":""},"warnings":{"incompleteResults":false},"language":{"name":"Testlanguage","code":"xx-XX"},"matches":[{"message":"My Message, use \"foo\" instead","shortMessage":"short message","replacements":[{"value":"foo"}],"offset":1,"length":2,"context":{"text":"This is ...","offset":1,"length":2},"rule":{"id":"FAKE_ID","description":"My rule description","issueType":"addition","urls":[{"value":"http://foobar.org/blah"}],"category":{"id":"MISC","name":"Misc"}}}]}

(Daniel Naber) #2

It works for me, please try mvn clean first, or if that doesn't help mvn install -DskipTests


(Jan Schreiber) #3

Thank you, that worked.