aboutsummaryrefslogtreecommitdiffhomepage
path: root/output/outputFormat_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-03-23 20:05:10 +0100
committerBjørn Erik Pedersen <[email protected]>2017-03-27 15:43:56 +0200
commitd851d6b98fefbe7de91c8c58b883cca4da17eea9 (patch)
tree5171cf499aef5d69ef00ef3b4bcdca777363060b /output/outputFormat_test.go
parent8bcc08e3b0ddd5762101bb2f061e0be04ecd8d57 (diff)
downloadhugo-d851d6b98fefbe7de91c8c58b883cca4da17eea9.tar.gz
hugo-d851d6b98fefbe7de91c8c58b883cca4da17eea9.zip
Add custom protocol support in Permalink
Diffstat (limited to 'output/outputFormat_test.go')
-rw-r--r--output/outputFormat_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/output/outputFormat_test.go b/output/outputFormat_test.go
index efc31a223..a76c50aee 100644
--- a/output/outputFormat_test.go
+++ b/output/outputFormat_test.go
@@ -30,6 +30,7 @@ func TestDefaultTypes(t *testing.T) {
require.Equal(t, "HTML", HTMLType.Name)
require.Equal(t, media.HTMLType, HTMLType.MediaType)
require.Empty(t, HTMLType.Path)
+ require.Empty(t, HTMLType.Protocol) // Will inherit the BaseURL protocol.
require.False(t, HTMLType.IsPlainText)
require.Equal(t, "RSS", RSSType.Name)