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

Unified Diff: ios/web/crw_browsing_data_store_unittest.mm

Issue 1469783002: Cleanup: Correctly spell success(ful). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format media Created 5 years, 1 month 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
Index: ios/web/crw_browsing_data_store_unittest.mm
diff --git a/ios/web/crw_browsing_data_store_unittest.mm b/ios/web/crw_browsing_data_store_unittest.mm
index 8db9898a0fed74ef757c1dfef658ad867cbc58dd..f00421d279d6f0423fb8d25f1bec2f416b947403 100644
--- a/ios/web/crw_browsing_data_store_unittest.mm
+++ b/ios/web/crw_browsing_data_store_unittest.mm
@@ -153,7 +153,7 @@ TEST_F(BrowsingDataStoreTest, MakeActiveAndInactiveOperations) {
EXPECT_EQ(0U, [observer modeChangeCount]);
__block int callbacks_received_count = 0;
- void (^unsucessfullCallback)(BOOL) = ^(BOOL success) {
+ void (^unsuccessfullCallback)(BOOL) = ^(BOOL success) {
ASSERT_TRUE([NSThread isMainThread]);
++callbacks_received_count;
BrowsingDataStoreMode mode = [browsing_data_store_ mode];
@@ -163,20 +163,20 @@ TEST_F(BrowsingDataStoreTest, MakeActiveAndInactiveOperations) {
[browsing_data_store_ makeActiveWithCompletionHandler:^(BOOL success) {
EXPECT_EQ(0, callbacks_received_count);
- unsucessfullCallback(success);
+ unsuccessfullCallback(success);
}];
EXPECT_EQ(CHANGING, [browsing_data_store_ mode]);
EXPECT_EQ(1U, [observer modeChangeCount]);
[browsing_data_store_ makeInactiveWithCompletionHandler:^(BOOL success) {
EXPECT_EQ(1, callbacks_received_count);
- unsucessfullCallback(success);
+ unsuccessfullCallback(success);
}];
EXPECT_EQ(CHANGING, [browsing_data_store_ mode]);
[browsing_data_store_ makeActiveWithCompletionHandler:^(BOOL success) {
EXPECT_EQ(2, callbacks_received_count);
- unsucessfullCallback(success);
+ unsuccessfullCallback(success);
}];
EXPECT_EQ(CHANGING, [browsing_data_store_ mode]);
« no previous file with comments | « ios/chrome/browser/find_in_page/js_findinpage_manager.mm ('k') | media/audio/mac/audio_low_latency_input_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698