compose/aci/aci_test.go
Christopher Crone e4f55ab808 aci: Normalize testing frameworks
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2020-08-06 18:52:23 +02:00

13 lines
238 B
Go

package aci
import (
"testing"
"gotest.tools/v3/assert"
)
func TestGetLinesWritten(t *testing.T) {
assert.Equal(t, 0, getBacktrackLines([]string{"Hello"}, 10))
assert.Equal(t, 3, getBacktrackLines([]string{"Hello", "world"}, 2))
}