Merge "Fix some typos in error messages in apex/apex.go."

This commit is contained in:
Treehugger Robot
2019-07-31 17:43:21 +00:00
committed by Gerrit Code Review

View File

@@ -354,7 +354,7 @@ func (a apexPackaging) suffix() string {
case both: case both:
panic(fmt.Errorf("must be either zip or image")) panic(fmt.Errorf("must be either zip or image"))
default: default:
panic(fmt.Errorf("unkonwn APEX type %d", a)) panic(fmt.Errorf("unknown APEX type %d", a))
} }
} }
@@ -367,7 +367,7 @@ func (a apexPackaging) name() string {
case both: case both:
panic(fmt.Errorf("must be either zip or image")) panic(fmt.Errorf("must be either zip or image"))
default: default:
panic(fmt.Errorf("unkonwn APEX type %d", a)) panic(fmt.Errorf("unknown APEX type %d", a))
} }
} }
@@ -384,7 +384,7 @@ func (class apexFileClass) NameInMake() string {
case nativeTest: case nativeTest:
return "NATIVE_TESTS" return "NATIVE_TESTS"
default: default:
panic(fmt.Errorf("unkonwn class %d", class)) panic(fmt.Errorf("unknown class %d", class))
} }
} }