File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -448,15 +448,11 @@ type Foo = u32;
448448 /* additional_include_headers=*/
449449 {" path/to/some_types.h" , " path/to/other_types.h" },
450450 " /tmp/fake_path.h" ));
451- EXPECT_THAT (result.header , HasSubstr (R"(
452- #include "path/to/some_types.h"
453- #include "path/to/other_types.h"
454- )" ));
455- EXPECT_THAT (result.source , HasSubstr (R"(
456- #include "/tmp/fake_path.h"
457- #include "path/to/some_types.h"
458- #include "path/to/other_types.h"
459- )" ));
451+ EXPECT_THAT (result.header , HasSubstr (" #include \" path/to/some_types.h\"\n "
452+ " #include \" path/to/other_types.h\"\n " ));
453+ EXPECT_THAT (result.source , HasSubstr (" #include \" /tmp/fake_path.h\"\n "
454+ " #include \" path/to/some_types.h\"\n "
455+ " #include \" path/to/other_types.h\"\n " ));
460456}
461457
462458} // namespace
You can’t perform that action at this time.
0 commit comments