summaryrefslogtreecommitdiffhomepage
path: root/tools/issue_reviver/github/BUILD
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-08-14 16:21:29 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-14 16:23:34 -0700
commit3f523b3bbcf5ef7f37bb247bd4c5727711c70ba9 (patch)
tree0908ef59b37ed7d25a08f4a1810a91739da84332 /tools/issue_reviver/github/BUILD
parentaf433e159dbf07b084c0f05e65ec646c056033a7 (diff)
Handle URLs better in issue reviver
- Handle urls ending in / - Add some url parsing tests PiperOrigin-RevId: 326750183
Diffstat (limited to 'tools/issue_reviver/github/BUILD')
-rw-r--r--tools/issue_reviver/github/BUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/issue_reviver/github/BUILD b/tools/issue_reviver/github/BUILD
index 8b1c717df..0eabc2835 100644
--- a/tools/issue_reviver/github/BUILD
+++ b/tools/issue_reviver/github/BUILD
@@ -1,4 +1,4 @@
-load("//tools:defs.bzl", "go_library")
+load("//tools:defs.bzl", "go_library", "go_test")
package(licenses = ["notice"])
@@ -15,3 +15,10 @@ go_library(
"@org_golang_x_oauth2//:go_default_library",
],
)
+
+go_test(
+ name = "github_test",
+ size = "small",
+ srcs = ["github_test.go"],
+ library = ":github",
+)