mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-16 10:09:28 +02:00
Fixed examples not being run during test
This commit is contained in:
parent
925c21893b
commit
d9d83a4282
1 changed files with 2 additions and 2 deletions
|
@ -21,13 +21,13 @@ import (
|
|||
"go.uploadedlobster.com/scotty/internal/util"
|
||||
)
|
||||
|
||||
func MaxExample() {
|
||||
func ExampleMax() {
|
||||
v := util.Max(2, 5)
|
||||
fmt.Print(v)
|
||||
// Output: 5
|
||||
}
|
||||
|
||||
func MinExample() {
|
||||
func ExampleMin() {
|
||||
v := util.Min(2, 5)
|
||||
fmt.Print(v)
|
||||
// Output: 2
|
||||
|
|
Loading…
Add table
Reference in a new issue