Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Unified Diff: ios/chrome/common/ns_regular_expression_unittest.mm

Issue 2681353002: [ObjC ARC] Converts ios/chrome/common:unit_tests to ARC. (Closed)
Patch Set: comments Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/common/BUILD.gn ('k') | ios/chrome/common/string_util_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/common/ns_regular_expression_unittest.mm
diff --git a/ios/chrome/common/ns_regular_expression_unittest.mm b/ios/chrome/common/ns_regular_expression_unittest.mm
index 315799af58171f1479ae1ce168d011273114f33a..d19f476b3df0b32daed0b641d945caf29a7a575b 100644
--- a/ios/chrome/common/ns_regular_expression_unittest.mm
+++ b/ios/chrome/common/ns_regular_expression_unittest.mm
@@ -6,6 +6,10 @@
#import "testing/gtest_mac.h"
#include "testing/platform_test.h"
+#if !defined(__has_feature) || !__has_feature(objc_arc)
+#error "This file requires ARC support."
+#endif
+
// Chromium code relies on NSRegularExpression class to match regular
// expressions. Any subtle changes in behavior can lead to hard to diagnose
// problems. This files tests how NSRegularExpression handles various regular
« no previous file with comments | « ios/chrome/common/BUILD.gn ('k') | ios/chrome/common/string_util_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698