mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
[Analyzers][CPP]Turn on warning 26475 (#22824)
This commit is contained in:
@@ -660,19 +660,19 @@ namespace UnitTestsCommonLib
|
||||
TEST_METHOD (GetCodeFromJson)
|
||||
{
|
||||
HotkeyObject object = HotkeyObject::from_json(m_defaultHotkeyJson);
|
||||
Assert::AreEqual(UINT(123), object.get_code());
|
||||
Assert::AreEqual(123U, object.get_code());
|
||||
}
|
||||
|
||||
TEST_METHOD (GetCodeFromJsonString)
|
||||
{
|
||||
HotkeyObject object = HotkeyObject::from_json_string(m_defaultHotkeyJson.Stringify());
|
||||
Assert::AreEqual(UINT(123), object.get_code());
|
||||
Assert::AreEqual(123U, object.get_code());
|
||||
}
|
||||
|
||||
TEST_METHOD (GetCodeFromSettings)
|
||||
{
|
||||
HotkeyObject object = HotkeyObject::from_settings(true, true, true, true, 123);
|
||||
Assert::AreEqual(UINT(123), object.get_code());
|
||||
Assert::AreEqual(123U, object.get_code());
|
||||
}
|
||||
|
||||
TEST_METHOD (GetWinPressedFromJson)
|
||||
|
||||
Reference in New Issue
Block a user