Lines Matching refs:expected
438 if expected := 1; len(actual) != expected {
439 t.Fatalf("Expected %d build statements, got %d", expected, len(actual))
721 func assertError(t *testing.T, err error, expected string) {
723 t.Errorf("expected error '%s', but got no error", expected)
724 } else if err.Error() != expected {
725 t.Errorf("expected error '%s', but got: %s", expected, err.Error())
731 func assertBuildStatements(t *testing.T, expected []BuildStatement, actual []BuildStatement) {
732 if len(expected) != len(actual) {
734 len(expected), len(actual), expected, actual)
739 for _, expectedStatement := range expected {
745 actualStatement, expected)