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

Unified Diff: chrome/browser/gtk/options/languages_page_gtk_unittest.cc

Issue 6300001: Clang: enable -Wbool-conversions and -Wunused-variables on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Formatting fix Created 9 years, 11 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
Index: chrome/browser/gtk/options/languages_page_gtk_unittest.cc
diff --git a/chrome/browser/gtk/options/languages_page_gtk_unittest.cc b/chrome/browser/gtk/options/languages_page_gtk_unittest.cc
index d861c356c2f75e9b28d18c7ba5d8df16d91f3b97..86e0fbda873787fd172d07ea5a473442f2e2a018 100644
--- a/chrome/browser/gtk/options/languages_page_gtk_unittest.cc
+++ b/chrome/browser/gtk/options/languages_page_gtk_unittest.cc
@@ -256,12 +256,12 @@ TEST_F(LanguagesPageGtkTest, EnableSpellChecking) {
gtk_button_clicked(GTK_BUTTON(page.enable_spellchecking_checkbox_));
EXPECT_EQ(FALSE, gtk_toggle_button_get_active(
GTK_TOGGLE_BUTTON(page.enable_spellchecking_checkbox_)));
- EXPECT_EQ(false, profile_->GetPrefs()->GetBoolean(prefs::kEnableSpellCheck));
+ EXPECT_FALSE(profile_->GetPrefs()->GetBoolean(prefs::kEnableSpellCheck));
gtk_button_clicked(GTK_BUTTON(page.enable_spellchecking_checkbox_));
EXPECT_EQ(TRUE, gtk_toggle_button_get_active(
GTK_TOGGLE_BUTTON(page.enable_spellchecking_checkbox_)));
- EXPECT_EQ(true, profile_->GetPrefs()->GetBoolean(prefs::kEnableSpellCheck));
+ EXPECT_TRUE(profile_->GetPrefs()->GetBoolean(prefs::kEnableSpellCheck));
}
// TODO(mattm): add EnableAutoSpellChecking test

Powered by Google App Engine
This is Rietveld 408576698