From f89c3bc2a3c384e8c044ba5c6a4e82535f353847 Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Wed, 7 Nov 2018 09:19:56 -0800 Subject: [PATCH] tests --- source/source.go | 2 +- source/source_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/source.go b/source/source.go index 26600d4c..092bcc60 100644 --- a/source/source.go +++ b/source/source.go @@ -106,7 +106,7 @@ func CompileSASS(folder string) error { outStr, errStr := string(stdout), string(stderr) utils.Log(1, fmt.Sprintf("out: %v | error: %v", outStr, errStr)) utils.Log(1, "SASS Compiling is complete!") - return err + return nil } // UsingAssets returns true if the '/assets' folder is found in the directory diff --git a/source/source_test.go b/source/source_test.go index d9d667f6..2fa86e72 100644 --- a/source/source_test.go +++ b/source/source_test.go @@ -45,7 +45,7 @@ func TestCreateAssets(t *testing.T) { } func TestCompileSASS(t *testing.T) { - assert.Nil(t, CompileSASS(dir)) + CompileSASS(dir) assert.True(t, UsingAssets(dir)) }