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
cf09e344
Commit
cf09e344
authored
Jul 20, 2017
by
Sam Leavens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(pkg/chartutil): Fix test, improve message
Fix inverted equaility check and update error message.
parent
3ee70291
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
values_test.go
pkg/chartutil/values_test.go
+2
-2
No files found.
pkg/chartutil/values_test.go
View file @
cf09e344
...
...
@@ -447,8 +447,8 @@ chapter:
if
_
,
err
:=
d
.
PathValue
(
"chapter.doesntexist.one"
);
err
==
nil
{
t
.
Errorf
(
"Non-existent key in middle of path should return error: %s
\n
%v"
,
err
,
d
)
}
if
_
,
err
:=
d
.
PathValue
(
""
);
err
!
=
nil
{
t
.
Error
f
(
"Empty path should return error:
\n
%v"
,
d
)
if
_
,
err
:=
d
.
PathValue
(
""
);
err
=
=
nil
{
t
.
Error
(
"Asking for the value from an empty path should yield an error"
)
}
if
v
,
err
:=
d
.
PathValue
(
"title"
);
err
==
nil
{
if
v
!=
"Moby Dick"
{
...
...
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