Skip to content

Commit 0c2c486

Browse files
Add test
Signed-off-by: Chris Cummer <chriscummer@me.com>
1 parent 70c49d1 commit 0c2c486

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

til_test.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ import (
66
"github.com/stretchr/testify/assert"
77
)
88

9+
/* -------------------- Configuration -------------------- */
10+
11+
func Test_getConfigPath(t *testing.T) {
12+
actual, err := getConfigPath()
13+
14+
assert.Contains(t, actual, "config.yml")
15+
assert.NoError(t, err)
16+
}
17+
918
/* -------------------- More Helper Functions -------------------- */
1019

1120
func Test_Colour(t *testing.T) {

0 commit comments

Comments
 (0)