diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-17 20:26:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-17 20:26:33 +0100 |
| commit | 9eda188e03afb8cc4b7767a3dc073069b9669230 (patch) | |
| tree | 4d409e6b582bfb79467a1127f30a65819236e6b1 /test | |
| parent | 8d56ea4bbff391dd72981f86001245a595fa9c62 (diff) | |
Check that the Editor actually edits something.
Diffstat (limited to 'test')
| -rw-r--r-- | test/verify_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/verify_test.cc b/test/verify_test.cc index 0b7faad5..0a9852ee 100644 --- a/test/verify_test.cc +++ b/test/verify_test.cc @@ -138,7 +138,9 @@ public: void replace (string a, string b) { + auto old_content = _content; boost::algorithm::replace_all (_content, a, b); + BOOST_REQUIRE (_content != old_content); } private: |
