diff --git a/public/testing b/public/testing index e8a3bc2..385028c 100644 --- a/public/testing +++ b/public/testing @@ -47,7 +47,7 @@ typically lives in the same package as the code it tests.
package main
intutils_test.go
.
func IntMin(a, b int) int {
if a < b {
return a
- } else {
- return b
}
+ return b
}
go test -v
.