aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2017-04-29 19:56:14 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2017-04-29 19:56:14 +0000
commit33e279e0665042aaf6b4cb2f61aadc795af3b4a3 (patch)
tree1e5cd3df473b9cd7ad531110036cb4caf06ef5c0 /src/test
parenta17e422f18d50b126a3e1957b182973bbcfe8bb0 (diff)
downloadjackcess-33e279e0665042aaf6b4cb2f61aadc795af3b4a3.tar.gz
jackcess-33e279e0665042aaf6b4cb2f61aadc795af3b4a3.zip
use actual implicit comp op subclass
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/exprs@1091 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java b/src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java
index 4efcedb..9bc7f49 100644
--- a/src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java
+++ b/src/test/java/com/healthmarketscience/jackcess/impl/expr/ExpressionatorTest.java
@@ -297,7 +297,13 @@ public class ExpressionatorTest extends TestCase
String cleanStr) {
Expression expr = Expressionator.parse(
Expressionator.Type.FIELD_VALIDATOR, exprStr, null);
- assertEquals(debugStr, expr.toDebugString());
+ String foundDebugStr = expr.toDebugString();
+ if(foundDebugStr.startsWith("<EImplicitCompOp>")) {
+ assertEquals("<EImplicitCompOp>{<EThisValue>{<THIS_COL>} = " +
+ debugStr + "}", foundDebugStr);
+ } else {
+ assertEquals(debugStr, foundDebugStr);
+ }
assertEquals(cleanStr, expr.toString());
}