summaryrefslogtreecommitdiffstats
path: root/hugofs/files/classifier_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugofs/files/classifier_test.go')
-rw-r--r--hugofs/files/classifier_test.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/hugofs/files/classifier_test.go b/hugofs/files/classifier_test.go
index 84036b870..f2fad56ca 100644
--- a/hugofs/files/classifier_test.go
+++ b/hugofs/files/classifier_test.go
@@ -15,7 +15,6 @@ package files
import (
"path/filepath"
- "strings"
"testing"
qt "github.com/frankban/quicktest"
@@ -31,16 +30,6 @@ func TestIsContentFile(t *testing.T) {
c.Assert(IsContentExt("json"), qt.Equals, false)
}
-func TestIsHTMLContent(t *testing.T) {
- c := qt.New(t)
-
- c.Assert(isHTMLContent(strings.NewReader(" <html>")), qt.Equals, true)
- c.Assert(isHTMLContent(strings.NewReader(" <!--\n---")), qt.Equals, false)
- c.Assert(isHTMLContent(strings.NewReader(" <!--")), qt.Equals, true)
- c.Assert(isHTMLContent(strings.NewReader(" ---<")), qt.Equals, false)
- c.Assert(isHTMLContent(strings.NewReader(" foo <")), qt.Equals, false)
-}
-
func TestComponentFolders(t *testing.T) {
c := qt.New(t)