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

Test: m
Change-Id: Iee54bd0e2e0d6651d82b7fbae246f20643e49ceb
This commit is contained in:
Roland Levillain
2019-07-31 14:09:17 +01:00
parent a822256e15
commit 4644b22b75

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))
} }
} }