Remove previous test methods
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
3948c8e7b4
commit
a4ca608937
2 changed files with 0 additions and 13 deletions
|
@ -9,10 +9,6 @@ import (
|
|||
"git.faercol.me/faercol/public-ip-tracker/tracker/config"
|
||||
)
|
||||
|
||||
func testMethod(a int) int {
|
||||
return a + 2
|
||||
}
|
||||
|
||||
type cliArgs struct {
|
||||
configPath string
|
||||
}
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
package main
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestTestMethod(t *testing.T) {
|
||||
if testMethod(12) != 14 {
|
||||
t.Fatalf("Unexpected result %d", testMethod((12)))
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue