1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Skip the tests which needs git directory
It checks current working directory is git and goes FAIL if not.
.
Debian package should built regardless of git. So the test should be
disabled.
Author: Jongmin Kim <jmkim@pukyong.ac.kr>
Forwarded: not-needed
Last-Update: 2023-09-09
--- a/pkg/utils/utils_test.go
+++ b/pkg/utils/utils_test.go
@@ -74,9 +74,3 @@ func TestClamp(t *testing.T) {
})
}
}
-
-func TestGetLazyRootDirectory(t *testing.T) {
- assert.NotPanics(t, func() {
- GetLazyRootDirectory()
- })
-}
|