File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ TEST_CASE(
109
109
other{}; // now create another watched object
110
110
111
111
// other will be destructed, but there is no existing destruction-expectation
112
- other = source ; // a no-match will be reported immediately
112
+ other = moved ; // a no-match will be reported immediately
113
113
};
114
114
115
115
// Depending on the active reporter, this may either raise an exception or terminate the program.
@@ -147,7 +147,7 @@ TEST_CASE(
147
147
mimicpp::LifetimeWatcher>
148
148
other{}; // now create another watched object
149
149
SCOPED_EXP other.expect_destruct (); // setting it up accordingly
150
- other = source; // other will be destructed and the expectation from the line above fulfilled
150
+ other = moved; // other will be destructed and the expectation from the line above fulfilled
151
151
152
152
// other is now a new instance without an existing destruction-expectation,
153
153
// because the copy-operator doesn't semantically copy anything.
Original file line number Diff line number Diff line change @@ -715,7 +715,7 @@ TEST_CASE(
715
715
&& Catch::Matchers::EndsWith (" my_base" ));
716
716
}
717
717
718
- SECTION (" Copy constructed ." )
718
+ SECTION (" Copy assigned ." )
719
719
{
720
720
RelocationWatcher inner{};
721
721
inner = watcher.value ();
You can’t perform that action at this time.
0 commit comments