summaryrefslogtreecommitdiffstats
path: root/helpers/content_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/content_test.go')
-rw-r--r--helpers/content_test.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/helpers/content_test.go b/helpers/content_test.go
index 709c81142..04e9466d0 100644
--- a/helpers/content_test.go
+++ b/helpers/content_test.go
@@ -506,13 +506,3 @@ func BenchmarkTotalWords(b *testing.B) {
}
}
}
-
-func BenchmarkTotalWordsOld(b *testing.B) {
- b.ResetTimer()
- for i := 0; i < b.N; i++ {
- wordCount := totalWordsOld(totalWordsBenchmarkString)
- if wordCount != 400 {
- b.Fatal("Wordcount error")
- }
- }
-}