Skip to content

Commit

Permalink
init(): fix extension comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
nluka committed Dec 29, 2022
1 parent 98bd598 commit db0c234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ void ntest::init()
continue;

auto const extension = path.extension();
if (extension == "expected" || extension == "actual")
if (extension == ".expected" || extension == ".actual")
fs::remove(path);
}
}

0 comments on commit db0c234

Please sign in to comment.