Chromium Code Reviews| Index: tools/gn/function_toolchain_unittest.cc |
| diff --git a/tools/gn/function_toolchain_unittest.cc b/tools/gn/function_toolchain_unittest.cc |
| index c7ffbc7a5029c139e6e95ffa549895f1b744cfdc..2d8a548e45b823a595e146b1b5df607ffff13ee8 100644 |
| --- a/tools/gn/function_toolchain_unittest.cc |
| +++ b/tools/gn/function_toolchain_unittest.cc |
| @@ -14,12 +14,12 @@ TEST(FunctionToolchain, RuntimeOutputs) { |
| // These runtime outputs are a subset of the outputs so are OK. |
| { |
| TestParseInput input( |
| - "toolchain(\"good\") {\n" |
| - " tool(\"link\") {\n" |
| - " outputs = [ \"foo\" ]\n" |
| - " runtime_outputs = [ \"foo\" ]\n" |
| - " }\n" |
| - "}\n"); |
| + R"(toolchain("good") { |
| + tool("link") { |
| + outputs = [ "foo" ] |
| + runtime_outputs = [ "foo" ] |
| + } |
| + })"); |
|
scottmg
2016/11/08 01:01:46
here
|
| ASSERT_FALSE(input.has_error()); |
| Err err; |
| @@ -43,12 +43,12 @@ TEST(FunctionToolchain, RuntimeOutputs) { |
| // This one is not a subset so should throw an error. |
| { |
| TestParseInput input( |
| - "toolchain(\"bad\") {\n" |
| - " tool(\"link\") {\n" |
| - " outputs = [ \"foo\" ]\n" |
| - " runtime_outputs = [ \"bar\" ]\n" |
| - " }\n" |
| - "}\n"); |
| + R"(toolchain("bad") { |
| + tool("link") { |
| + outputs = [ "foo" ] |
| + runtime_outputs = [ "bar" ] |
| + } |
| + })"); |
|
scottmg
2016/11/08 01:01:46
here
|
| ASSERT_FALSE(input.has_error()); |
| Err err; |