diff --git a/main/tests/server/src/com/google/refine/tests/expr/functions/FindFunctionTests.java b/main/tests/server/src/com/google/refine/tests/expr/functions/FindFunctionTests.java index 9717fc921..8179c73e8 100644 --- a/main/tests/server/src/com/google/refine/tests/expr/functions/FindFunctionTests.java +++ b/main/tests/server/src/com/google/refine/tests/expr/functions/FindFunctionTests.java @@ -75,6 +75,12 @@ public class FindFunctionTests extends RefineTest { Assert.assertEquals(matches[1], "test"); } + @Test + public void findFunctionFindLiteralTest() throws Exception { + String[] matches = (String[]) invoke("find", "This is a test string for testing find.", ".test"); + Assert.assertEquals(matches.length, 0); + } + @Test public void findFunctionFindAllTest2() throws Exception { String[] matches = (String[]) invoke("find", "hello 123456 goodbye.", "\\d{6}|hello");