diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-03-23 20:05:10 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-03-27 15:43:56 +0200 |
commit | d851d6b98fefbe7de91c8c58b883cca4da17eea9 (patch) | |
tree | 5171cf499aef5d69ef00ef3b4bcdca777363060b /output/outputFormat_test.go | |
parent | 8bcc08e3b0ddd5762101bb2f061e0be04ecd8d57 (diff) | |
download | hugo-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.go | 1 |
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) |