mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
non-Existent -> nonexistent
Reverting from #3963 https://www.merriam-webster.com/dictionary/existent
This commit is contained in:
@@ -26,13 +26,13 @@ func TestLinuxSpecialDirs(t *testing.T) {
|
||||
// Despite the task dir not existing, unmountSpecialDirs should *not*
|
||||
// return an error
|
||||
if err := td.unmountSpecialDirs(); err != nil {
|
||||
t.Fatalf("error removing nonExistent special dirs: %v", err)
|
||||
t.Fatalf("error removing nonexistent special dirs: %v", err)
|
||||
}
|
||||
|
||||
// Mounting special dirs in a nonExistent task dir *should* return an
|
||||
// Mounting special dirs in a nonexistent task dir *should* return an
|
||||
// error
|
||||
if err := td.mountSpecialDirs(); err == nil {
|
||||
t.Fatalf("expected mounting in a nonExistent task dir %q to fail", td.Dir)
|
||||
t.Fatalf("expected mounting in a nonexistent task dir %q to fail", td.Dir)
|
||||
}
|
||||
|
||||
// Create the task dir like TaskDir.Build would
|
||||
|
||||
Reference in New Issue
Block a user