diff options
author | leo <[email protected]> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:46:40 +0300 |
commit | 980edcd3304699edf9d4e4d6a656e585028e2a72 (patch) | |
tree | 139f47f3911484ae9af0eb347b1a88bd6c4bb35f /util/system/error_ut.cpp | |
parent | b036a557f285146e5e35d4213e29a094ab907bcf (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/error_ut.cpp')
-rw-r--r-- | util/system/error_ut.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/system/error_ut.cpp b/util/system/error_ut.cpp index 763b0dddb79..ad6857da820 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 } }; |