projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d56ea4
)
Check that the Editor actually edits something.
author
Carl Hetherington
<cth@carlh.net>
Sun, 17 Jan 2021 19:26:28 +0000
(20:26 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 17 Jan 2021 19:26:33 +0000
(20:26 +0100)
test/verify_test.cc
patch
|
blob
|
history
diff --git
a/test/verify_test.cc
b/test/verify_test.cc
index 0b7faad59621c20c62a770813b345034317d25e7..0a9852ee47d52727696d98f3930e5584fa8dd29a 100644
(file)
--- 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: