summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_teletype_mock.cc4
-rw-r--r--tests/test_transient_message.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_teletype_mock.cc b/tests/test_teletype_mock.cc
index 66a85b4c..bdcc9469 100644
--- a/tests/test_teletype_mock.cc
+++ b/tests/test_teletype_mock.cc
@@ -97,7 +97,7 @@ namespace
term_locale(mocks::terminal_locale::create_strict()),
term_metrics(mocks::terminal_metrics::create_strict()),
term_output(mocks::terminal_with_combined_output::create_strict()),
- teletype(mocks::create_teletype(term_locale, term_metrics, term_output))
+ teletype(mocks::create_strict_teletype(term_locale, term_metrics, term_output))
{
EXPECT_CALL(*term_locale, wcwidth(two_column_char))
.WillRepeatedly(Return(2));
@@ -347,7 +347,7 @@ TEST_F(TeletypeTest, TeletypeDoesNotBreakTerminalMock)
shared_ptr<mocks::combining_terminal_output> real_term_output =
mocks::combining_terminal_output::create_strict();
shared_ptr<mocks::teletype> teletype =
- mocks::create_teletype(term_locale, term_metrics, real_term_output);
+ mocks::create_strict_teletype(term_locale, term_metrics, real_term_output);
EXPECT_CALL(*term_metrics, get_screen_width())
.WillRepeatedly(Return(80));
diff --git a/tests/test_transient_message.cc b/tests/test_transient_message.cc
index 2844854e..98ddbc1a 100644
--- a/tests/test_transient_message.cc
+++ b/tests/test_transient_message.cc
@@ -83,7 +83,7 @@ namespace
: term_locale(mocks::terminal_locale::create_strict()),
term_metrics(create_terminal_metrics()),
term_output(create_terminal_output()),
- teletype(mocks::create_teletype(term_locale, term_metrics, term_output)),
+ teletype(mocks::create_strict_teletype(term_locale, term_metrics, term_output)),
message(create_transient_message(term_locale, term_metrics, term_output)),
widechar(1, two_column_char)
{