diff options
author | Dean Deng <deandeng@google.com> | 2020-10-23 19:24:51 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-23 19:29:26 -0700 |
commit | 54d2d927ac9c3ee290d44405a3028307459a49fb (patch) | |
tree | 92afc751be4d823411436057092644ef5ed77349 /tools/github/reviver/reviver_test.go | |
parent | 8dfbec28a47483e0c03a5c94331081d7219f215b (diff) |
Direct gvisor.dev/issues to the same place as gvisor.dev/issue.
Also let the Github bug reviver detect both in TODOs.
PiperOrigin-RevId: 338785089
Diffstat (limited to 'tools/github/reviver/reviver_test.go')
-rw-r--r-- | tools/github/reviver/reviver_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/github/reviver/reviver_test.go b/tools/github/reviver/reviver_test.go index a9fb1f9f1..851306c9d 100644 --- a/tools/github/reviver/reviver_test.go +++ b/tools/github/reviver/reviver_test.go @@ -33,6 +33,15 @@ func TestProcessLine(t *testing.T) { }, }, { + line: "// TODO(foobar.com/issues/123): comment, bla. blabla.", + want: &Todo{ + Issue: "foobar.com/issues/123", + Locations: []Location{ + {Comment: "comment, bla. blabla."}, + }, + }, + }, + { line: "// FIXME(b/123): internal bug", want: &Todo{ Issue: "b/123", |