Files
docker-machine/its/cli/url_test.go
Nathan LeClaire 19973f2b1b Fix golint errors
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2016-11-15 17:14:17 -08:00

17 lines
317 B
Go

package cli
import (
"testing"
"github.com/docker/machine/its"
)
func TestUrl(t *testing.T) {
test := its.NewTest(t)
defer test.TearDown()
test.Run("url: show error in case of no args", func() {
test.Machine("url").Should().Fail(`Error: No machine name(s) specified and no "default" machine exists`)
})
}