Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
caddy
Commits
5fb3c504
Commit
5fb3c504
authored
Aug 09, 2016
by
Abiola Ibrahim
Committed by
GitHub
Aug 09, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1017 from shawnps/patch-2
fix typo
parents
ce8b1dfe
0f04f2fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
caddytls/certificates_test.go
caddytls/certificates_test.go
+1
-1
No files found.
caddytls/certificates_test.go
View file @
5fb3c504
...
@@ -43,7 +43,7 @@ func TestCacheCertificate(t *testing.T) {
...
@@ -43,7 +43,7 @@ func TestCacheCertificate(t *testing.T) {
t
.
Error
(
"Expected first cert to be cached by key 'example.com', but it wasn't"
)
t
.
Error
(
"Expected first cert to be cached by key 'example.com', but it wasn't"
)
}
}
if
_
,
ok
:=
certCache
[
"sub.example.com"
];
!
ok
{
if
_
,
ok
:=
certCache
[
"sub.example.com"
];
!
ok
{
t
.
Error
(
"Expected first cert to be cached by key 'sub.ex
ma
ple.com', but it wasn't"
)
t
.
Error
(
"Expected first cert to be cached by key 'sub.ex
am
ple.com', but it wasn't"
)
}
}
if
cert
,
ok
:=
certCache
[
""
];
!
ok
||
cert
.
Names
[
2
]
!=
""
{
if
cert
,
ok
:=
certCache
[
""
];
!
ok
||
cert
.
Names
[
2
]
!=
""
{
t
.
Error
(
"Expected first cert to be cached additionally as the default certificate with empty name added, but it wasn't"
)
t
.
Error
(
"Expected first cert to be cached additionally as the default certificate with empty name added, but it wasn'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