This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package analysis
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestSanitizeLine(t *testing.T) {
|
||||
got := sanitizeLine(" error\nwith\rspaces ")
|
||||
if got != "error with spaces" {
|
||||
t.Fatalf("got %q", got)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user