Skip to content

Commit

Permalink
Opt, 代码对齐
Browse files Browse the repository at this point in the history
  • Loading branch information
mingkuang-Chuyu committed Jun 24, 2024
1 parent 04b9ede commit f274c62
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/YY-Thunks.UnitTest/api-ms-win-core-winrt-string.UnitTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,20 +93,20 @@ namespace api_ms_win_core_winrt_string
}
};

TEST_CLASS(WindowsStringHasEmbeddedNull)
{
TEST_CLASS(WindowsStringHasEmbeddedNull)
{
AwaysNullGuard Guard;

public:
public:
WindowsStringHasEmbeddedNull()
{
{
Guard |= YY::Thunks::aways_null_try_get_WindowsCreateString;
Guard |= YY::Thunks::aways_null_try_get_WindowsDeleteString;
Guard |= YY::Thunks::aways_null_try_get_WindowsStringHasEmbeddedNull;
}
}

TEST_METHOD(标准C字符串)
{
TEST_METHOD(标准C字符串)
{
const wchar_t _szInput[] = L"TestString";
const auto _cInput = _countof(_szInput) - 1;

Expand All @@ -120,7 +120,7 @@ namespace api_ms_win_core_winrt_string
Assert::IsFalse(_bEmbeddedNull);

::WindowsDeleteString(_hString);
}
}

TEST_METHOD(中途带零的字符串)
{
Expand Down Expand Up @@ -155,7 +155,7 @@ namespace api_ms_win_core_winrt_string

::WindowsDeleteString(_hString);
}
};
};

TEST_CLASS(WindowsCompareStringOrdinal)
{
Expand Down

0 comments on commit f274c62

Please sign in to comment.