*Fewer* *occurrences*, not "less occurences". r=languagenazi

This commit is contained in:
Jeff Walden 2011-06-23 11:07:27 -07:00
Родитель a118c1779b
Коммит e9faaca013
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -33,9 +33,9 @@ if count == expected_count:
else:
print "TEST-UNEXPECTED-FAIL | check_source_count.py %s | " % (search_string),
if count < expected_count:
print "There are less occurences of /%s/ than expected. This may mean that you have removed some, but forgotten to account for it %s." % (search_string, error_location)
print "There are fewer occurrences of /%s/ than expected. This may mean that you have removed some, but forgotten to account for it %s." % (search_string, error_location)
else:
print "There are more occurences of /%s/ than expected. We're trying to prevent an increase in the number of %s's, using %s if possible. If it in unavoidable, you should update the expected count %s." % (search_string, search_string, replacement, error_location)
print "There are more occurrences of /%s/ than expected. We're trying to prevent an increase in the number of %s's, using %s if possible. If it in unavoidable, you should update the expected count %s." % (search_string, search_string, replacement, error_location)
print "Expected: %d; found: %d" % (expected_count, count)
for k in sorted(details):

Просмотреть файл

@ -33,9 +33,9 @@ if count == expected_count:
else:
print "TEST-UNEXPECTED-FAIL | check_source_count.py %s | " % (search_string),
if count < expected_count:
print "There are less occurences of /%s/ than expected. This may mean that you have removed some, but forgotten to account for it %s." % (search_string, error_location)
print "There are fewer occurrences of /%s/ than expected. This may mean that you have removed some, but forgotten to account for it %s." % (search_string, error_location)
else:
print "There are more occurences of /%s/ than expected. We're trying to prevent an increase in the number of %s's, using %s if possible. If it in unavoidable, you should update the expected count %s." % (search_string, search_string, replacement, error_location)
print "There are more occurrences of /%s/ than expected. We're trying to prevent an increase in the number of %s's, using %s if possible. If it in unavoidable, you should update the expected count %s." % (search_string, search_string, replacement, error_location)
print "Expected: %d; found: %d" % (expected_count, count)
for k in sorted(details):