Remove previous test methods
All checks were successful
continuous-integration/drone/push Build is passing

There were a few tests that used to be here only to run a mock pipeline.
Since we now have testable methods, this is not useful anymore and this
commit removes them
This commit is contained in:
Melora Hugues 2023-01-27 17:59:18 +01:00
parent 3948c8e7b4
commit a4ca608937
2 changed files with 0 additions and 13 deletions

View file

@ -9,10 +9,6 @@ import (
"git.faercol.me/faercol/public-ip-tracker/tracker/config" "git.faercol.me/faercol/public-ip-tracker/tracker/config"
) )
func testMethod(a int) int {
return a + 2
}
type cliArgs struct { type cliArgs struct {
configPath string configPath string
} }

View file

@ -1,9 +0,0 @@
package main
import "testing"
func TestTestMethod(t *testing.T) {
if testMethod(12) != 14 {
t.Fatalf("Unexpected result %d", testMethod((12)))
}
}