fix linter errors

This commit is contained in:
2022-10-19 12:57:50 +02:00
parent baac74eb47
commit 90872e0c60
3 changed files with 8 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ import (
"testing"
)
func Testcontains(t *testing.T) {
func TestContains(t *testing.T) {
var tests = []struct {
list []int
search int

View File

@@ -90,8 +90,8 @@ func printOrgmodeData(w io.Writer, c cfg.Config, data *Tabdata) {
| cell | cell |
|------+------|
*/
leftR := regexp.MustCompile("(?m)^\\+")
rightR := regexp.MustCompile("\\+(?m)$")
leftR := regexp.MustCompile(`(?m)^\\+`)
rightR := regexp.MustCompile(`\\+(?m)$`)
output(w, color.Sprint(
colorizeData(c,