package format

import (
	"testing"

	log "github.com/Sirupsen/logrus"

	"github.com/stretchr/testify/assert"
)

func TestSsh(t *testing.T) {
	log.SetLevel(log.DebugLevel)

	keys := map[string][]string{
		"ernoaapa": []string{
			"ssh-rsa AAAAB3NzsshPublicKeyBlah",
		},
	}

	result := ssh(keys)

	assert.Equal(t, "ssh-rsa AAAAB3NzsshPublicKeyBlah ernoaapa\n", result, "Returned invalid ssh output")
}

package format

import (
	"testing"

	log "github.com/Sirupsen/logrus"

	"github.com/stretchr/testify/assert"
)

func TestSsh(t *testing.T) {
	log.SetLevel(log.DebugLevel)

	keys := map[string][]string{
		"ernoaapa": {
			"ssh-rsa AAAAB3NzsshPublicKeyBlah",
		},
	}

	result := ssh(keys)

	assert.Equal(t, "ssh-rsa AAAAB3NzsshPublicKeyBlah ernoaapa\n", result, "Returned invalid ssh output")
}

Fix code style based on feedback from `gofmt -s`
Fix code style based on feedback from `gofmt -s`
