From aee82c7b27048ab058fd9917d18199d4f38a2de4 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Sun, 16 Mar 2014 10:53:01 +0100 Subject: [PATCH] More tests There's a corner case in the CQL spec which specifies that escape character should be retained ONLY for '^?*' in quoted strings. This means however that spurious escapes will be present in the non-quoted terms: t\*er\m -> t\*er\m "t\*er\m" -> t\*erm --- src/test/resources/regression/12/02.cql | 1 + src/test/resources/regression/12/02.xcql | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 src/test/resources/regression/12/02.cql create mode 100644 src/test/resources/regression/12/02.xcql diff --git a/src/test/resources/regression/12/02.cql b/src/test/resources/regression/12/02.cql new file mode 100644 index 0000000..e48f360 --- /dev/null +++ b/src/test/resources/regression/12/02.cql @@ -0,0 +1 @@ +te\rm\*\?\^ diff --git a/src/test/resources/regression/12/02.xcql b/src/test/resources/regression/12/02.xcql new file mode 100644 index 0000000..b826cba --- /dev/null +++ b/src/test/resources/regression/12/02.xcql @@ -0,0 +1,7 @@ + + cql.serverChoice + + = + + te\rm\*\?\^ + -- 1.7.10.4