aboutsummaryrefslogtreecommitdiff
path: root/linters/nosleep/testdata
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-06-24 07:22:47 -0400
committerXe Iaso <me@xeiaso.net>2023-06-24 07:24:17 -0400
commit6e8d83bb628cc3fff6b6bfc22cc7f769a02b934f (patch)
treef876db2af9efd249d6cc566a467cd4c37363fdde /linters/nosleep/testdata
parent7724fa5a14ce57640659bb57cd1b78ef95273952 (diff)
downloadx-6e8d83bb628cc3fff6b6bfc22cc7f769a02b934f.tar.xz
x-6e8d83bb628cc3fff6b6bfc22cc7f769a02b934f.zip
linters/nosleep: change magic comment formatv1.6.0
Thanks @dominikh for pointing me to the right syntax to use for magic comments as used by linters. Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'linters/nosleep/testdata')
-rw-r--r--linters/nosleep/testdata/sleep_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/linters/nosleep/testdata/sleep_test.go b/linters/nosleep/testdata/sleep_test.go
index 0d47045..d334d4e 100644
--- a/linters/nosleep/testdata/sleep_test.go
+++ b/linters/nosleep/testdata/sleep_test.go
@@ -10,5 +10,5 @@ func TestNosleep(t *testing.T) {
}
func TestNosleepIgnore(t *testing.T) {
- time.Sleep(time.Second) // nosleep bypass(Mai): This test requires us to use a sleep statement here. I hate it too.
+ time.Sleep(time.Second) //nosleep:bypass This test requires us to use a sleep statement here. I hate it too.
}