Browse Source

Fixed invalid unit test

master
Artyom Beilis 6 years ago
parent
commit
e8dffc58bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/filter_test.cpp

+ 1
- 1
tests/filter_test.cpp View File

@@ -112,7 +112,7 @@ public:
data()->on_upload_progress++;
TESTNT(input_file.size() > 0);
std::string ref = get_ref(input_file.name());
TESTNT(size_t(input_file.size()) << ref.size());
TESTNT(size_t(input_file.size()) <= ref.size());
std::ostringstream ss;
input_file.data().seekg(0);
ss<<input_file.data().rdbuf();


Loading…
Cancel
Save