summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_teletype_mock.cc2
-rw-r--r--tests/test_terminal_mock.cc2
-rw-r--r--tests/test_transient_message.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_teletype_mock.cc b/tests/test_teletype_mock.cc
index b8e2997d..66a85b4c 100644
--- a/tests/test_teletype_mock.cc
+++ b/tests/test_teletype_mock.cc
@@ -345,7 +345,7 @@ TEST_F(TeletypeTest, testOverwritePastEOL)
TEST_F(TeletypeTest, TeletypeDoesNotBreakTerminalMock)
{
shared_ptr<mocks::combining_terminal_output> real_term_output =
- mocks::combining_terminal_output::create();
+ mocks::combining_terminal_output::create_strict();
shared_ptr<mocks::teletype> teletype =
mocks::create_teletype(term_locale, term_metrics, real_term_output);
diff --git a/tests/test_terminal_mock.cc b/tests/test_terminal_mock.cc
index 86574f59..b033d42f 100644
--- a/tests/test_terminal_mock.cc
+++ b/tests/test_terminal_mock.cc
@@ -37,7 +37,7 @@ namespace
public:
TerminalMock()
- : terminal(mocks::combining_terminal_output::create())
+ : terminal(mocks::combining_terminal_output::create_strict())
{
}
};
diff --git a/tests/test_transient_message.cc b/tests/test_transient_message.cc
index c0dbd6d9..2844854e 100644
--- a/tests/test_transient_message.cc
+++ b/tests/test_transient_message.cc
@@ -60,7 +60,7 @@ namespace
static shared_ptr<mocks::combining_terminal_output> create_terminal_output()
{
shared_ptr<mocks::combining_terminal_output> rval =
- mocks::combining_terminal_output::create();
+ mocks::combining_terminal_output::create_strict();
EXPECT_CALL(*rval, output_is_a_terminal())
.WillRepeatedly(Return(true));