Revision: 9888
http://languagetool.svn.sourceforge.net/languagetool/?rev=9888&view=rev
Author: jaumeortola
Date: 2013-04-06 13:46:41 +0000 (Sat, 06 Apr 2013)
Log Message:
-----------
Set locQualityIssueType="duplication" in rule WORD_REPEAT_RULE (I suppose this
makes sense).
Also in the tests.
Modified Paths:
--------------
trunk/languagetool/languagetool-commandline/src/test/java/org/languagetool/commandline/MainTest.java
Modified:
trunk/languagetool/languagetool-commandline/src/test/java/org/languagetool/commandline/MainTest.java
===================================================================
---
trunk/languagetool/languagetool-commandline/src/test/java/org/languagetool/commandline/MainTest.java
2013-04-06 12:53:37 UTC (rev 9887)
+++
trunk/languagetool/languagetool-commandline/src/test/java/org/languagetool/commandline/MainTest.java
2013-04-06 13:46:41 UTC (rev 9888)
@@ -191,7 +191,7 @@
assertTrue("Got: " + output, output.contains("<error fromy=\"4\"
fromx=\"5\" toy=\"4\" tox=\"10\" " +
"ruleId=\"ENGLISH_WORD_REPEAT_RULE\" msg=\"Possible typo: you
repeated a word\" replacements=\"is\" " +
"context=\"This is is a test of language tool. \"
contextoffset=\"5\" offset=\"5\" errorlength=\"5\" " +
- "category=\"Miscellaneous\" locqualityissuetype=\"addition\"/>"));
+ "category=\"Miscellaneous\"
locqualityissuetype=\"duplication\"/>"));
// note: the offset is relative to the sentence... this seems wrong - it
happens because of the way
// the command line client feeds the data into the check() methods.
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits