@@ -24,7 +24,7 @@ constexpr std::string_view prefix = "com.github.bugdea1er.tmp";
2424// / Tests directory creation with prefix
2525TEST (directory, create_with_prefix) {
2626 directory tmpdir = directory (prefix);
27- fs::path parent = tmpdir.path ().parent_path ();
27+ fs::path parent = tmpdir.path ().parent_path ();
2828
2929 EXPECT_TRUE (fs::exists (tmpdir));
3030 EXPECT_TRUE (fs::is_directory (tmpdir));
@@ -52,7 +52,7 @@ TEST(directory, create_with_prefix) {
5252// / Tests directory creation without prefix
5353TEST (directory, create_without_prefix) {
5454 directory tmpdir = directory ();
55- fs::path parent = tmpdir.path ().parent_path ();
55+ fs::path parent = tmpdir.path ().parent_path ();
5656
5757 EXPECT_TRUE (fs::exists (tmpdir));
5858 EXPECT_TRUE (fs::is_directory (tmpdir));
@@ -85,7 +85,7 @@ TEST(directory, create_invalid_prefix) {
8585
8686// / Tests `operator/` of directory
8787TEST (directory, subpath) {
88- directory tmpdir = directory ();
88+ directory tmpdir = directory ();
8989 fs::path expected = tmpdir.path () / " child" ;
9090 std::ofstream (expected) << " Hello, world!" ;
9191
@@ -104,7 +104,7 @@ TEST(directory, destructor) {
104104 fs::path path;
105105 {
106106 directory tmpdir = directory ();
107- path = tmpdir;
107+ path = tmpdir;
108108 }
109109
110110 EXPECT_FALSE (fs::exists (path));
0 commit comments