Fix EditCommandTest.ShardSubcommand This is failing because: * CQ+1 passed when appplying a change to the formatter * I added the ShardSubcommand test which would have been affected by it * When I CQ+2'd it, it didn't rerun the tests. Change-Id: I31990b23c450ab4c529187fbdbfb25a76a6a6964 Reviewed-on: https://gn-review.googlesource.com/c/gn/+/26040 Commit-Queue: Matt Stark <msta@google.com> Reviewed-by: Takuto Ikuta <tikuta@google.com>
diff --git a/src/gn/edit_command_unittest.cc b/src/gn/edit_command_unittest.cc index ff16d3b..7614da4 100644 --- a/src/gn/edit_command_unittest.cc +++ b/src/gn/edit_command_unittest.cc
@@ -659,6 +659,7 @@ testonly = true visibility = [ "//..." ] } + static_library("a") { sources = [ "a.cc", @@ -672,6 +673,7 @@ testonly = true visibility = [ "//..." ] } + static_library("c_win") { sources = [] if (is_win) { @@ -682,6 +684,7 @@ testonly = true visibility = [ "//..." ] } + static_library("foo_foo") { sources = [ "foo.h" ] if (is_win) { @@ -692,6 +695,7 @@ testonly = true visibility = [ "//..." ] } + static_library("util_foo_bar") { sources = [ "util/foo-bar.cc", @@ -729,9 +733,11 @@ ":b", ] } + source_set("a") { sources = [ "a.cc" ] } + source_set("b") { sources = [ "b.cc" ] }