summaryrefslogtreecommitdiffstats
path: root/util/system/error_ut.cpp
diff options
context:
space:
mode:
authorleo <[email protected]>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:40 +0300
commit99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/system/error_ut.cpp
parent980edcd3304699edf9d4e4d6a656e585028e2a72 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/error_ut.cpp')
-rw-r--r--util/system/error_ut.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/error_ut.cpp b/util/system/error_ut.cpp
index ad6857da820..763b0dddb79 100644
--- a/util/system/error_ut.cpp
+++ b/util/system/error_ut.cpp
@@ -4,12 +4,12 @@
#include <util/generic/ylimits.h>
-#ifdef _win_
+#ifdef _win_
#include "winint.h"
#else
#include <fcntl.h>
-#endif
-
+#endif
+
class TSysErrorTest: public TTestBase {
UNIT_TEST_SUITE(TSysErrorTest);
UNIT_TEST(TestErrorCode)
@@ -30,11 +30,11 @@ private:
}
inline void GenFailure() {
-#ifdef _win_
+#ifdef _win_
SetLastError(3);
-#else
+#else
UNIT_ASSERT(open("/non-existent", O_RDONLY) < 0);
-#endif
+#endif
}
};