File tree Expand file tree Collapse file tree
naming_convention_mapped_fail
respect_alias_and_map_kind Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Naming convention fail with map_kind
1+ # Naming convention fail with ` map_kind `
22
33This test case asserts that collision error messages reference the mapped rule
4- kind over than the canonical Python kind.
4+ kind over than the canonical Python kind when using ` # gazelle:map_kind ` .
Original file line number Diff line number Diff line change 1- # Copyright 2023 The Bazel Authors. All rights reserved.
2- #
3- # Licensed under the Apache License, Version 2.0 (the "License");
4- # you may not use this file except in compliance with the License.
5- # You may obtain a copy of the License at
6- #
7- # http://www.apache.org/licenses/LICENSE-2.0
8- #
9- # Unless required by applicable law or agreed to in writing, software
10- # distributed under the License is distributed on an "AS IS" BASIS,
11- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12- # See the License for the specific language governing permissions and
13- # limitations under the License.
14-
15- # For test purposes only.
1+ # Empty test file.
Original file line number Diff line number Diff line change 1- # Copyright 2023 The Bazel Authors. All rights reserved.
2- #
3- # Licensed under the Apache License, Version 2.0 (the "License");
4- # you may not use this file except in compliance with the License.
5- # You may obtain a copy of the License at
6- #
7- # http://www.apache.org/licenses/LICENSE-2.0
8- #
9- # Unless required by applicable law or agreed to in writing, software
10- # distributed under the License is distributed on an "AS IS" BASIS,
11- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12- # See the License for the specific language governing permissions and
13- # limitations under the License.
14-
15- # For test purposes only.
1+ # Empty test file.
Original file line number Diff line number Diff line change 1- # Copyright 2023 The Bazel Authors. All rights reserved.
2- #
3- # Licensed under the Apache License, Version 2.0 (the "License");
4- # you may not use this file except in compliance with the License.
5- # You may obtain a copy of the License at
6- #
7- # http://www.apache.org/licenses/LICENSE-2.0
8- #
9- # Unless required by applicable law or agreed to in writing, software
10- # distributed under the License is distributed on an "AS IS" BASIS,
11- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12- # See the License for the specific language governing permissions and
13- # limitations under the License.
14-
15- # For test purposes only.
1+ # Empty test file.
Original file line number Diff line number Diff line change 1- # Respect alias_kind and map_kind
1+ # Respect ` alias_kind ` and ` map_kind `
22
33This test case asserts that ` # gazelle:alias_kind ` and ` # gazelle:map_kind ` are
44both respected as the expected kind at once and do not collide.
Original file line number Diff line number Diff line change 1- # Respect alias_kind
1+ # Respect ` alias_kind `
22
33This test case asserts that Gazelle updates the existing wrapper-macro rule
4- declared with alias_kind in place instead of reporting a collision.
4+ declared with ` # gazelle: alias_kind` in place instead of reporting a collision.
You can’t perform that action at this time.
0 commit comments