Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / options / tests / option.cpp
index c9d85b2b9bb223d5c7a9c60117e5c0119559bfa4..8ba0aa25e02cc15fe3e4e950d7c09a2e312b4a44 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014,2015,2016,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -63,9 +63,7 @@ TEST(OptionsTest, FailsOnNonsafeStorage)
     gmx::Options options;
     int          value = -1;
     using gmx::IntegerOption;
-    ASSERT_THROW_GMX(options.addOption(IntegerOption("name").store(&value)
-                                           .multiValue()),
-                     gmx::APIError);
+    ASSERT_THROW_GMX(options.addOption(IntegerOption("name").store(&value).multiValue()), gmx::APIError);
 }
 
 } // namespace