mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
Improve URL detection rule to exclude stuff like "Hi."
git-svn-id: https://zxing.googlecode.com/svn/trunk@914 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
e74c041e46
commit
e9c19530cc
|
@ -31,6 +31,7 @@ public final class ParsedReaderResultTestCase extends TestCase {
|
|||
public void testTextType() {
|
||||
doTestResult("", "", ParsedResultType.TEXT);
|
||||
doTestResult("foo", "foo", ParsedResultType.TEXT);
|
||||
doTestResult("Hi.", "Hi.", ParsedResultType.TEXT);
|
||||
doTestResult("This is a test", "This is a test", ParsedResultType.TEXT);
|
||||
doTestResult("This is a test\nwith newlines", "This is a test\nwith newlines",
|
||||
ParsedResultType.TEXT);
|
||||
|
|
Loading…
Reference in a new issue