superlint/test/linters/go/golang_bad_01.go
Marco Ferrari e6cf8d3845
Move tests to the test directory (#4985)
* Move tests to the test directory

* Fix linting errors

* Add states back

* Add xml back
2023-12-15 08:50:35 +00:00

3 lines
62 B
Go

if len(in) == 0 {
return "", fmt.Errorf("Input is empty")
}