Index: chrome/test/data/webui/history_browsertest.js |
diff --git a/chrome/test/data/webui/history_browsertest.js b/chrome/test/data/webui/history_browsertest.js |
index aa5e9977e1e845b62374a59eec85a3d3a11b080a..4f194a980b4c200a4b3152564b67306afaeed0a7 100644 |
--- a/chrome/test/data/webui/history_browsertest.js |
+++ b/chrome/test/data/webui/history_browsertest.js |
@@ -743,7 +743,8 @@ TEST_F('RangeHistoryWebUITest', 'monthViewEmptyMonth', function() { |
// See if the correct number of days is shown. |
var resultsDisplay = $('results-display'); |
assertEquals(0, resultsDisplay.querySelectorAll('.months-results').length); |
- assertEquals(1, resultsDisplay.querySelectorAll('div').length); |
+ var noResults = loadTimeData.getString('noResults'); |
+ assertNotEquals(-1, $('results-header').textContent.indexOf(noResults)); |
testDone(); |
}); |