fix
This commit is contained in:
11
internal/ingest/alert_outbox_test.go
Normal file
11
internal/ingest/alert_outbox_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package ingest
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestTruncateError(t *testing.T) {
|
||||
got := truncateError(" abcdef ", 3)
|
||||
if got != "abc" {
|
||||
t.Fatalf("unexpected value: %q", got)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user