Run go fix

This commit is contained in:
Ian Fijolek
2026-02-18 09:05:07 -08:00
committed by IamTheFij
parent c40841ef61
commit 3323a562c9
5 changed files with 5 additions and 22 deletions
-6
View File
@@ -6,10 +6,6 @@ import (
m "git.iamthefij.com/iamthefij/minitor-go/v2"
)
func Ptr[T any](v T) *T {
return &v
}
// TestCheckConfig tests the checkConfig function
// It also tests results for potentially invalid configuration. For example, no alerts
func TestCheckMonitors(t *testing.T) {
@@ -91,7 +87,6 @@ func TestCheckMonitors(t *testing.T) {
}
for _, c := range cases {
c := c
t.Run(c.name, func(t *testing.T) {
t.Parallel()
@@ -171,7 +166,6 @@ func TestFirstRunAlerts(t *testing.T) {
}
for _, c := range cases {
c := c
t.Run(c.name, func(t *testing.T) {
t.Parallel()