From 96e990456b65c7744819000f67f226c34d487d99 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?=
 <bjorn.erik.pedersen@gmail.com>
Date: Sat, 6 Feb 2016 18:17:48 +0100
Subject: [PATCH] transform: Add missing test case for NewEmptyTransforms

---
 transform/chain_test.go | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/transform/chain_test.go b/transform/chain_test.go
index ae7ef2ca..8ac3b6bc 100644
--- a/transform/chain_test.go
+++ b/transform/chain_test.go
@@ -16,6 +16,7 @@ package transform
 import (
 	"bytes"
 	"github.com/spf13/hugo/helpers"
+	"github.com/stretchr/testify/assert"
 	"path/filepath"
 	"strings"
 	"testing"
@@ -211,6 +212,11 @@ func TestXMLAbsURL(t *testing.T) {
 	apply(t.Errorf, tr, xml_abs_url_tests)
 }
 
+func TestNewEmptyTransforms(t *testing.T) {
+	transforms := NewEmptyTransforms()
+	assert.Equal(t, 20, cap(transforms))
+}
+
 type errorf func(string, ...interface{})
 
 func applyWithPath(ef errorf, tr chain, tests []test, path string) {
-- 
2.30.2