Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
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
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
6dd5698f
Commit
6dd5698f
authored
Mar 13, 2019
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gofmt fixes.
parent
272ce32e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rewrite_test.go
pkg/varnish/vcl/rewrite_test.go
+2
-2
No files found.
pkg/varnish/vcl/rewrite_test.go
View file @
6dd5698f
...
@@ -30,8 +30,8 @@ package vcl
...
@@ -30,8 +30,8 @@ package vcl
import
(
import
(
"bytes"
"bytes"
"testing"
"io/ioutil"
"io/ioutil"
"testing"
)
)
func
testTemplate
(
t
*
testing
.
T
,
spec
Spec
,
gold
string
)
{
func
testTemplate
(
t
*
testing
.
T
,
spec
Spec
,
gold
string
)
{
...
@@ -723,7 +723,7 @@ func TestRewriteDeleteAuth(t *testing.T) {
...
@@ -723,7 +723,7 @@ func TestRewriteDeleteAuth(t *testing.T) {
t
.
Fatal
(
"GetSrc():"
,
err
)
t
.
Fatal
(
"GetSrc():"
,
err
)
}
}
if
goldbytes
,
err
=
ioutil
.
ReadFile
(
"testdata/"
+
gold
);
err
!=
nil
{
if
goldbytes
,
err
=
ioutil
.
ReadFile
(
"testdata/"
+
gold
);
err
!=
nil
{
t
.
Fatal
(
"WriteFile():"
,
err
)
t
.
Fatal
(
"WriteFile():"
,
err
)
}
}
if
!
bytes
.
Equal
(
goldbytes
,
[]
byte
(
src
))
{
if
!
bytes
.
Equal
(
goldbytes
,
[]
byte
(
src
))
{
...
...
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