Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1112)

Unified Diff: tools/gn/c_include_iterator_unittest.cc

Issue 1631873003: Check system-include dependencies in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/c_include_iterator.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/c_include_iterator_unittest.cc
diff --git a/tools/gn/c_include_iterator_unittest.cc b/tools/gn/c_include_iterator_unittest.cc
index a4278b21200b15a68567cafda1d632c00651263c..80e34e0c8f301a951d9033155c0f96cef0da38ee 100644
--- a/tools/gn/c_include_iterator_unittest.cc
+++ b/tools/gn/c_include_iterator_unittest.cc
@@ -49,6 +49,10 @@ TEST(CIncludeIterator, Basic) {
EXPECT_TRUE(RangeIs(range, 3, 11, 20)) << range.begin().Describe(true);
EXPECT_TRUE(iter.GetNextIncludeString(&contents, &range));
+ EXPECT_EQ("stdio.h", contents);
+ EXPECT_TRUE(RangeIs(range, 5, 11, 18)) << range.begin().Describe(true);
+
+ EXPECT_TRUE(iter.GetNextIncludeString(&contents, &range));
EXPECT_EQ("foo/baz.h", contents);
EXPECT_TRUE(RangeIs(range, 7, 12, 21)) << range.begin().Describe(true);
« no previous file with comments | « tools/gn/c_include_iterator.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698