hugo/0001-Update-error-message.p...

27 lines
959 B
Diff

From 0e066bfe26fa2e37a00afc269d096e54ad27c657 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Tue, 18 Feb 2020 06:24:23 -0500
Subject: [PATCH 1/2] Update error message.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
commands/commands_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/commands_test.go b/commands/commands_test.go
index 3b194489..e45174ba 100644
--- a/commands/commands_test.go
+++ b/commands/commands_test.go
@@ -90,7 +90,7 @@ func TestExecute(t *testing.T) {
defer clean()
resp := Execute([]string{"deploy", "-s=" + dir, "-e=staging", "--target=mydeployment", "--dryRun"})
c.Assert(resp.Err, qt.Not(qt.IsNil))
- c.Assert(resp.Err.Error(), qt.Contains, `no provider registered for "hugocloud"`)
+ c.Assert(resp.Err.Error(), qt.Contains, `no driver registered for "hugocloud"`)
})
c.Run("list", func(c *qt.C) {
--
2.21.1