Permalink
Browse files

tests

  • Loading branch information...
hunterlong committed Nov 7, 2018
1 parent a836cd9 commit f89c3bc2a3c384e8c044ba5c6a4e82535f353847
Showing with 2 additions and 2 deletions.
  1. +1 −1 source/source.go
  2. +1 −1 source/source_test.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
@@ -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))
}

0 comments on commit f89c3bc

Please sign in to comment.