util: Fix small linting error
Woops!
This commit is contained in:
@@ -42,9 +42,9 @@ func TestDir(suffix string) (string, error) {
|
|||||||
return testDir, nil
|
return testDir, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestDir gets the full absolute path to a unique test directory if it exists.
|
// TestDirFull gets the full absolute path to a unique test directory if it
|
||||||
// If the dir does not exist, then this will error, but the path will still be
|
// exists. If the dir does not exist, then this will error, but the path will
|
||||||
// returned. This is a utility function that is used in some tests.
|
// still be returned. This is a utility function that is used in some tests.
|
||||||
func TestDirFull() (string, error) {
|
func TestDirFull() (string, error) {
|
||||||
function, filename, _, ok := runtime.Caller(1)
|
function, filename, _, ok := runtime.Caller(1)
|
||||||
if !ok {
|
if !ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user