Commit 890e2bd5 authored by Marco Bubke's avatar Marco Bubke

Clang: Fix tests

Change-Id: Ic6e8da5c7db0cfa325774640fe1202845d7b3e00
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent d2caeda1
......@@ -86,7 +86,7 @@ TEST_F(SourceRangeExtractorSlowTest, FindStartOfLineInEmptyBuffer)
auto found = ::SourceRangeExtractor::findStartOfLineInBuffer(text, 0);
ASSERT_THAT(found, Eq(""));
ASSERT_THAT(found, StrEq(""));
}
TEST_F(SourceRangeExtractorSlowTest, FindStartOfLineInBufferInFirstLine)
......@@ -95,7 +95,7 @@ TEST_F(SourceRangeExtractorSlowTest, FindStartOfLineInBufferInFirstLine)
auto found = ::SourceRangeExtractor::findStartOfLineInBuffer(text, 5);
ASSERT_THAT(found, Eq("first line"));
ASSERT_THAT(found, StrEq("first line"));
}
TEST_F(SourceRangeExtractorSlowTest, FindStartOfNewLineInBufferInSecondLine)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment