commit | 0c9a33d66f74a76c1842990f41da678f79fa0c05 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 13 18:05:09 2021 +0000 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon Sep 13 18:08:06 2021 +0000 |
tree | 4af4feecb0d975fb6722019522db4122a0078cbc | |
parent | 1fd0b145874a089e2ccd11f3960342059eeb7012 [diff] |
clang updates The openbmc CI was recently updated to clang-12 which requires some formatting updates to the code: https://github.com/openbmc/openbmc-build-scripts/commit/4569bf49daaebff06be0482426908bb5497fad08 Make those updates and refresh the clang-format file with the one from docs: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format Change-Id: Ieb3626526373a053ec84431e7560003f229f338d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/phosphor-power-supply/test/power_supply_tests.cpp b/phosphor-power-supply/test/power_supply_tests.cpp index b298d6c..19d5203 100644 --- a/phosphor-power-supply/test/power_supply_tests.cpp +++ b/phosphor-power-supply/test/power_supply_tests.cpp
@@ -251,8 +251,7 @@ psu.onOffConfig(data); } catch (...) - { - } + {} // Test where PSU is present try @@ -273,8 +272,7 @@ psu.onOffConfig(data); } catch (...) - { - } + {} } TEST_F(PowerSupplyTests, ClearFaults)