summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-03-15 18:50:56 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-03-15 18:50:56 +0000
commit50dbe749d29e4ed57acf61d5f26ea958dd187ac2 (patch)
tree806b616fe03a5799cad679c71d26cfc70cee8b7d /cpp
parentb860ce7cf57ee2734af76444897af29ee83ad527 (diff)
downloadqpid-python-50dbe749d29e4ed57acf61d5f26ea958dd187ac2.tar.gz
QPID-4623: Fixed the unit test for unknown values
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1457062 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/tests/Selector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/Selector.cpp b/cpp/src/tests/Selector.cpp
index 288d8ee6c3..7d36cfe308 100644
--- a/cpp/src/tests/Selector.cpp
+++ b/cpp/src/tests/Selector.cpp
@@ -301,8 +301,8 @@ QPID_AUTO_TEST_CASE(numericEval)
BOOST_CHECK(!qb::Selector("A BETWEEN B and 40").eval(env));
BOOST_CHECK(!qb::Selector("A BETWEEN C and 40").eval(env));
BOOST_CHECK(!qb::Selector("A BETWEEN 45 and C").eval(env));
- BOOST_CHECK(!qb::Selector("A BETWEEN 40 and C AND A NOT BETWEEN 40 and C").eval(env));
- BOOST_CHECK(!qb::Selector("A BETWEEN C and 45 AND A NOT BETWEEN C and 45").eval(env));
+ BOOST_CHECK(!qb::Selector("A BETWEEN 40 and C OR A NOT BETWEEN 40 and C").eval(env));
+ BOOST_CHECK(!qb::Selector("A BETWEEN C and 45 OR A NOT BETWEEN C and 45").eval(env));
}
QPID_AUTO_TEST_CASE(comparisonEval)