summaryrefslogtreecommitdiff
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
commit421aa678e95825bf44818621895aa328892fc1d2 (patch)
tree91b30005ef7b73817e04bd036254a404bffb77c6
parentb6bc286d888f4aa64b80aca431b3d812874f1280 (diff)
downloadqpid-python-421aa678e95825bf44818621895aa328892fc1d2.tar.gz
QPID-4623: Fixed the unit test for unknown values
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457062 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/cpp/src/tests/Selector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/Selector.cpp b/qpid/cpp/src/tests/Selector.cpp
index 288d8ee6c3..7d36cfe308 100644
--- a/qpid/cpp/src/tests/Selector.cpp
+++ b/qpid/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)