hugo/0001-Update-error-message.patch
Elliott Sales de Andrade 96a14caf85 Update to latest version.
2020-02-22 22:10:45 -05:00

27 lines
955 B
Diff

From b8ad4219b9ef1a9520d6b26e59bfc899af64f633 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] 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