Skip to content

Commit

Permalink
icon and help msg fix
Browse files Browse the repository at this point in the history
  • Loading branch information
odra committed Apr 10, 2018
1 parent a24da19 commit 2820fe3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion integration/service_integration_test.go
Expand Up @@ -139,7 +139,7 @@ func TestIntegration(t *testing.T) {
func CreateInstance(t *testing.T, si *ProvisionServiceParams) {
args := []string{"create", "serviceinstance", si.ServiceName, si.Namespace}
args = append(args, si.Params...)
t.Logf("executing: %v\n", *executable+strings.Join(args, " "))
t.Logf("executing: %v\n", *executable+" "+strings.Join(args, " "))
cmd := exec.Command(*executable, args...)

output, err := cmd.CombinedOutput()
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/clients.go
Expand Up @@ -131,7 +131,7 @@ func (cc *ClientCmd) CreateClientCmd() *cobra.Command {
Long: `create client sets up the representation of a mobile application of the specified type in your namespace.
This is used to provide a mobile client context for various actions such as creating, starting or stopping mobile client builds.
The available client types are android, cordova and iOS, xamarin.
The available client types are android, cordova, iOS and xamarin.
When used standalone, a namespace must be specified by providing the --namespace flag.`,
Example: ` mobile create client <name> <clientType> <appIdentifier> --namespace=myproject
Expand Down Expand Up @@ -173,7 +173,7 @@ When used standalone, a namespace must be specified by providing the --namespace
app.Annotations["icon"] = "font-icon icon-cordova"
break
case "xamarin":
app.Annotations["icon"] = "fa fa-xamarin"
app.Annotations["icon"] = "font-icon icon-xamarin"
break
default:
return errors.New("Unknown client type")
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/clients_test.go
Expand Up @@ -449,8 +449,8 @@ func TestMobileClientsCmd_TestCreateClient(t *testing.T) {
if !ok {
t.Fatal("expected an icon to be set but there was none")
}
if icon != "fa fa-xamarin" {
t.Fatal("expected the icon to be fa-xamarin but got ", icon)
if icon != "font-icon icon-xamarin" {
t.Fatal("expected the icon to be icon-xamarin but got ", icon)
}
},
},
Expand Down

0 comments on commit 2820fe3

Please sign in to comment.