Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
c34b40d5
Unverified
Commit
c34b40d5
authored
Apr 17, 2018
by
Matthew Fisher
Committed by
GitHub
Apr 17, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3905 from AdamDang/patch-5
Correct the returned message
parents
3eb1f59f
9f78c33c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vcs_installer_test.go
pkg/plugin/installer/vcs_installer_test.go
+2
-2
No files found.
pkg/plugin/installer/vcs_installer_test.go
View file @
c34b40d5
...
@@ -133,9 +133,9 @@ func TestVCSInstallerNonExistentVersion(t *testing.T) {
...
@@ -133,9 +133,9 @@ func TestVCSInstallerNonExistentVersion(t *testing.T) {
}
}
if
err
:=
Install
(
i
);
err
==
nil
{
if
err
:=
Install
(
i
);
err
==
nil
{
t
.
Error
(
"expected error for version does not exist
s
, got none"
)
t
.
Error
(
"expected error for version does not exist, got none"
)
}
else
if
err
.
Error
()
!=
fmt
.
Sprintf
(
"requested version %q does not exist for plugin %q"
,
version
,
source
)
{
}
else
if
err
.
Error
()
!=
fmt
.
Sprintf
(
"requested version %q does not exist for plugin %q"
,
version
,
source
)
{
t
.
Errorf
(
"expected error for version does not exist
s
, got (%v)"
,
err
)
t
.
Errorf
(
"expected error for version does not exist, got (%v)"
,
err
)
}
}
}
}
func
TestVCSInstallerUpdate
(
t
*
testing
.
T
)
{
func
TestVCSInstallerUpdate
(
t
*
testing
.
T
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment