compiletest: fix typo in runtest.rs
nonexistant -> nonexistent
This commit is contained in:
parent
ef9810a3e2
commit
96c91afebb
@ -3761,7 +3761,7 @@ impl<'test> TestCx<'test> {
|
|||||||
|
|
||||||
fn delete_file(&self, file: &PathBuf) {
|
fn delete_file(&self, file: &PathBuf) {
|
||||||
if !file.exists() {
|
if !file.exists() {
|
||||||
// Deleting a nonexistant file would error.
|
// Deleting a nonexistent file would error.
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if let Err(e) = fs::remove_file(file) {
|
if let Err(e) = fs::remove_file(file) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user