mirror of https://github.com/statping/statping
tests
parent
a836cd90e6
commit
f89c3bc2a3
|
@ -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))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue