blob: 37a13e9619619a4ba0a30d0d863d40550ad32ea3 [file] [log] [blame]
package testutils
import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.skia.org/infra/go/sktest"
)
func TestInterfaces(t *testing.T) {
// Ensure that our interfaces are compatible.
var _ assert.TestingT = sktest.TestingT(nil)
var _ sktest.TestingT = (*testing.T)(nil)
var _ sktest.TestingT = (*testing.B)(nil)
}
func TestReadFileBytes_FileExists_Success(t *testing.T) {
require.Equal(t, "my test data", string(ReadFileBytes(t, "mytestdata.txt")))
}