Check MkdirAll error
This commit is contained in:
parent
1bae759d3e
commit
fb4ad53dd0
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ func TestAutomaticSSHKeyPairs(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Errorf("Failed to clean test directory: %v", err)
|
||||
}
|
||||
os.MkdirAll(dir, 0711)
|
||||
err = os.MkdirAll(dir, 0711)
|
||||
if err != nil {
|
||||
t.Errorf("Failed to set up test directory: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue