diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2017-04-29 19:56:14 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2017-04-29 19:56:14 +0000 |
commit | 33e279e0665042aaf6b4cb2f61aadc795af3b4a3 (patch) | |
tree | 1e5cd3df473b9cd7ad531110036cb4caf06ef5c0 /src/test | |
parent | a17e422f18d50b126a3e1957b182973bbcfe8bb0 (diff) | |
download | jackcess-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.java | 8 |
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()); } |