From 4644b22b75b9c730583cba6308ee5b7ec1ffe41a Mon Sep 17 00:00:00 2001 From: Roland Levillain Date: Wed, 31 Jul 2019 14:09:17 +0100 Subject: [PATCH] Fix some typos in error messages in apex/apex.go. Test: m Change-Id: Iee54bd0e2e0d6651d82b7fbae246f20643e49ceb --- apex/apex.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apex/apex.go b/apex/apex.go index 4729e0f75..441911b3a 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -354,7 +354,7 @@ func (a apexPackaging) suffix() string { case both: panic(fmt.Errorf("must be either zip or image")) 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: panic(fmt.Errorf("must be either zip or image")) 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: return "NATIVE_TESTS" default: - panic(fmt.Errorf("unkonwn class %d", class)) + panic(fmt.Errorf("unknown class %d", class)) } }