From f64710e649fd3361ff3c1488a963c4523b8eea05 Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Mon, 24 Oct 2022 10:25:04 +0800 Subject: [PATCH] tests: add test for checking first line of a file --- testdata/src/a/doc.go | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 testdata/src/a/doc.go diff --git a/testdata/src/a/doc.go b/testdata/src/a/doc.go new file mode 100644 index 0000000..9227705 --- /dev/null +++ b/testdata/src/a/doc.go @@ -0,0 +1,2 @@ +// Package a this comment include duplicated word and and // want `Duplicate words \(and\) found` +package a