aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/resource_transformers/postcss/postcss_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'resources/resource_transformers/postcss/postcss_test.go')
-rw-r--r--resources/resource_transformers/postcss/postcss_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/resource_transformers/postcss/postcss_test.go b/resources/resource_transformers/postcss/postcss_test.go
index b6b365f32..39936d6b4 100644
--- a/resources/resource_transformers/postcss/postcss_test.go
+++ b/resources/resource_transformers/postcss/postcss_test.go
@@ -16,24 +16,24 @@ package postcss
import (
"testing"
- "github.com/stretchr/testify/require"
+ qt "github.com/frankban/quicktest"
)
// Issue 6166
func TestDecodeOptions(t *testing.T) {
- assert := require.New(t)
+ c := qt.New(t)
opts1, err := DecodeOptions(map[string]interface{}{
"no-map": true,
})
- assert.NoError(err)
- assert.True(opts1.NoMap)
+ c.Assert(err, qt.IsNil)
+ c.Assert(opts1.NoMap, qt.Equals, true)
opts2, err := DecodeOptions(map[string]interface{}{
"noMap": true,
})
- assert.NoError(err)
- assert.True(opts2.NoMap)
+ c.Assert(err, qt.IsNil)
+ c.Assert(opts2.NoMap, qt.Equals, true)
}