summaryrefslogtreecommitdiff
path: root/libfscrypt/tests/fscrypt_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libfscrypt/tests/fscrypt_test.cpp')
-rw-r--r--libfscrypt/tests/fscrypt_test.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/libfscrypt/tests/fscrypt_test.cpp b/libfscrypt/tests/fscrypt_test.cpp
index 4fbd742c..70eb1780 100644
--- a/libfscrypt/tests/fscrypt_test.cpp
+++ b/libfscrypt/tests/fscrypt_test.cpp
@@ -38,7 +38,7 @@ const EncryptionOptions TestString(unsigned int first_api_level, const std::stri
}
#define TEST_STRING(first_api_level, instring, outstring) \
- SCOPED_TRACE(instring); \
+ SCOPED_TRACE(instring); \
auto options = TestString(first_api_level, instring, outstring);
TEST(fscrypt, ParseOptions) {
@@ -179,11 +179,12 @@ TEST(fscrypt, ParseOptions) {
}
TEST(fscrypt, ComparePolicies) {
-#define TEST_INEQUALITY(foo, field, value) { \
- auto bar = foo; \
- bar.field = value; \
- EXPECT_NE(foo, bar); \
-}
+#define TEST_INEQUALITY(foo, field, value) \
+ { \
+ auto bar = foo; \
+ bar.field = value; \
+ EXPECT_NE(foo, bar); \
+ }
EncryptionPolicy foo;
foo.key_raw_ref = "foo";
EncryptionOptions foo_options;