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