diff --git a/.travis.yml b/.travis.yml index dd5429f2..23295deb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -56,4 +56,4 @@ after_success: - if [ "$COMPILER" = "g++-4.9" ]; then cd .. && ./build/bin/xlnt.test ; fi - if [ "$COMPILER" = "g++-4.9" ]; then export OLDWD=$(pwd) ; fi - if [ "$COMPILER" = "g++-4.9" ]; then cd "build/CMakeFiles/xlnt.static.dir$(pwd)" ; pwd ; fi - - if [ "$COMPILER" = "g++-4.9" ]; then coveralls --root $OLDWD --verbose -x ".cpp" --gcov-options '\-p' --exclude include --exclude third-party --exclude tests --exclude samples --exclude benchmarks --exclude-pattern "^source/.*/tests/*.hpp$" ; fi + - if [ "$COMPILER" = "g++-4.9" ]; then coveralls --root $OLDWD --verbose -x ".cpp" --gcov-options '\-p' --exclude include --exclude third-party --exclude tests --exclude samples --exclude benchmarks -E ".*/source/.*/tests/.*" ; fi diff --git a/source/cell/tests/test_index_types.hpp b/source/cell/tests/test_index_types.hpp index 624ca923..b12aec40 100644 --- a/source/cell/tests/test_index_types.hpp +++ b/source/cell/tests/test_index_types.hpp @@ -59,9 +59,9 @@ public: TS_ASSERT_EQUALS(c1, 3); TS_ASSERT(c2 <= 4); - TS_ASSERT(!(c2 <= 3)); + TS_ASSERT(!(c2 < 3)); TS_ASSERT(c1 >= 3); - TS_ASSERT(!(c1 >= 4)); + TS_ASSERT(!(c1 > 4)); TS_ASSERT(4 >= c2); TS_ASSERT(!(3 >= c2));