summaryrefslogtreecommitdiffstats
path: root/util/system/file_ut.cpp
diff options
context:
space:
mode:
authorCthulhu <[email protected]>2022-02-10 16:47:44 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:47:44 +0300
commit6aced6c854653b75aab9808d5995be5fc4d9fa53 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /util/system/file_ut.cpp
parentbcb3e9d0eb2a8188a6a9fe0907a8949ce4881a4e (diff)
Restoring authorship annotation for Cthulhu <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/file_ut.cpp')
-rw-r--r--util/system/file_ut.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/util/system/file_ut.cpp b/util/system/file_ut.cpp
index e8463f33829..941e6a50f3d 100644
--- a/util/system/file_ut.cpp
+++ b/util/system/file_ut.cpp
@@ -10,7 +10,7 @@
class TFileTest: public TTestBase {
UNIT_TEST_SUITE(TFileTest);
UNIT_TEST(TestOpen);
- UNIT_TEST(TestOpenSync);
+ UNIT_TEST(TestOpenSync);
UNIT_TEST(TestRW);
UNIT_TEST(TestReWrite);
UNIT_TEST(TestAppend);
@@ -28,7 +28,7 @@ class TFileTest: public TTestBase {
public:
void TestOpen();
- void TestOpenSync();
+ void TestOpenSync();
void TestRW();
void TestLocale();
void TestFlush();
@@ -154,14 +154,14 @@ void TFileTest::TestOpen() {
UNIT_ASSERT(unlink("f1.txt") == 0);
}
-void TFileTest::TestOpenSync() {
- TFile f1("f1.txt", CreateNew | Sync);
- UNIT_ASSERT(f1.IsOpen());
- f1.Close();
- UNIT_ASSERT(!f1.IsOpen());
- UNIT_ASSERT(unlink("f1.txt") == 0);
-}
-
+void TFileTest::TestOpenSync() {
+ TFile f1("f1.txt", CreateNew | Sync);
+ UNIT_ASSERT(f1.IsOpen());
+ f1.Close();
+ UNIT_ASSERT(!f1.IsOpen());
+ UNIT_ASSERT(unlink("f1.txt") == 0);
+}
+
void TFileTest::TestRW() {
TFile f1("f1.txt", CreateNew);
UNIT_ASSERT(f1.IsOpen());