100-go-mistakes/06-functions-methods/46-function-input/main_test.go
2021-12-27 15:57:20 +01:00

18 lines
215 B
Go

package main
import (
"strings"
"testing"
)
func TestCountEmptyLines(t *testing.T) {
emptyLines, err := countEmptyLines(strings.NewReader(
`foo
bar
baz
`))
// Test logic
_ = emptyLines
_ = err
}