diff --git a/src/tint/source.cc b/src/tint/source.cc index 5dbed6cf37..6a10de523d 100644 --- a/src/tint/source.cc +++ b/src/tint/source.cc @@ -113,13 +113,10 @@ std::vector CopyRelativeStringViews(const std::vector lines; }; diff --git a/src/tint/source_test.cc b/src/tint/source_test.cc index b1241fb30e..df14a31af5 100644 --- a/src/tint/source_test.cc +++ b/src/tint/source_test.cc @@ -31,7 +31,6 @@ using SourceFileContentTest = testing::Test; TEST_F(SourceFileContentTest, Init) { Source::FileContent fc(kSource); EXPECT_EQ(fc.data, kSource); - EXPECT_EQ(fc.data_view, kSource); ASSERT_EQ(fc.lines.size(), 3u); EXPECT_EQ(fc.lines[0], "line one"); EXPECT_EQ(fc.lines[1], "line two"); @@ -43,7 +42,6 @@ TEST_F(SourceFileContentTest, CopyInit) { Source::FileContent fc{*src}; src.reset(); EXPECT_EQ(fc.data, kSource); - EXPECT_EQ(fc.data_view, kSource); ASSERT_EQ(fc.lines.size(), 3u); EXPECT_EQ(fc.lines[0], "line one"); EXPECT_EQ(fc.lines[1], "line two"); @@ -55,7 +53,6 @@ TEST_F(SourceFileContentTest, MoveInit) { Source::FileContent fc{std::move(*src)}; src.reset(); EXPECT_EQ(fc.data, kSource); - EXPECT_EQ(fc.data_view, kSource); ASSERT_EQ(fc.lines.size(), 3u); EXPECT_EQ(fc.lines[0], "line one"); EXPECT_EQ(fc.lines[1], "line two");