From 033d9e1790e42fdf4baa130207ab4aee21158ca4 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 21 Feb 2017 11:38:13 +0800 Subject: [PATCH] feat: support username flag. --- plugin_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin_test.go b/plugin_test.go index a2d50ae..e9c883a 100644 --- a/plugin_test.go +++ b/plugin_test.go @@ -6,13 +6,13 @@ import ( "github.com/stretchr/testify/assert" ) -func TestMissingHostOrUser(t *testing.T) { +func TestMissingHostOrUserName(t *testing.T) { plugin := Plugin{} err := plugin.Exec() assert.NotNil(t, err) - assert.Equal(t, missingHostOrUser, err.Error()) + assert.Equal(t, missingHostOrUserName, err.Error()) } func TestMissingKeyOrPassword(t *testing.T) {