Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k8s-vcl-reloader
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-vcl-reloader
Commits
6e40f025
Commit
6e40f025
authored
Jun 14, 2023
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More verbose error output for a failure in vcl.TestFQVersion().
parent
18242100
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vcl_test.go
pkg/varnish/vcl/vcl_test.go
+3
-1
No files found.
pkg/varnish/vcl/vcl_test.go
View file @
6e40f025
...
...
@@ -241,7 +241,9 @@ func TestFQVersion(t *testing.T) {
if
created
,
err
:=
time
.
Parse
(
RFC3339Micro
,
versionSlice
[
3
]);
err
!=
nil
{
t
.
Fatal
(
"FQVersion(): cannot parse timestamp"
,
err
)
}
else
if
testSpec
.
Created
!=
created
{
t
.
Fatal
(
"FQVersion(): timestamp != Spec.Created"
,
fqVersion
)
t
.
Fatalf
(
"FQVersion(): timestamp != Spec.Created (%s) "
+
"got %s want %s"
,
versionSlice
[
3
],
testSpec
.
Created
,
created
)
}
noversionSpec
:=
Spec
{
...
...
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