Skip to content

Commit

Permalink
Try shorter paths
Browse files Browse the repository at this point in the history
  • Loading branch information
illicitonion committed May 3, 2024
1 parent bfef5fe commit 49ac11d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 28 deletions.
15 changes: 15 additions & 0 deletions examples/gazelle/src/test/com/example/gazelle/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
load("@contrib_rules_jvm//java:defs.bzl", "java_test_suite")
load("@bazel_skylib//rules:diff_test.bzl", "diff_test")

genquery(
name = "generated_targets",
expression = "kind(java_test, deps(//src/test/com/example/gazelle:gazelle))",
opts = ["--output=label_kind"],
scope = ["//src/test/com/example/gazelle"],
)

diff_test(
name = "diff_test",
file1 = ":generated_targets",
file2 = ":expected-query-output",
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.github.bazel_contrib.contrib_rules_jvm.examples.gazelle;
package com.example.gazelle;

import org.junit.jupiter.api.Test;

Expand Down

This file was deleted.

0 comments on commit 49ac11d

Please sign in to comment.