Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k8s-crt-dnldr
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
k8s
k8s-crt-dnldr
Commits
f9eaa9a2
Commit
f9eaa9a2
authored
Jun 15, 2023
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct usage of formatted output in a unit test.
parent
cc00e983
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
peminfo_handler_test.go
pkg/rest/peminfo_handler_test.go
+1
-1
No files found.
pkg/rest/peminfo_handler_test.go
View file @
f9eaa9a2
...
...
@@ -650,7 +650,7 @@ func TestGetPem(t *testing.T) {
"got %s want %s"
,
problem
.
Title
,
errPemNotFound
.
Title
)
}
if
!
strings
.
Contains
(
problem
.
Detail
,
"version=0815"
)
{
t
.
Error
(
"GET /v1/pems/ns1/cafe?version problem detail got %s "
+
t
.
Error
f
(
"GET /v1/pems/ns1/cafe?version problem detail got %s "
+
"want contains version=0815"
,
problem
.
Detail
)
}
if
problem
.
Status
!=
http
.
StatusNotFound
{
...
...
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