*Fewer* *occurrences*, not "less occurences". r=languagenazi
authorJeff Walden <jwalden@mit.edu>
Thu, 23 Jun 2011 11:07:27 -0700
changeset 72566 2b09315d5f1655b7b5a86a93c4f8afc0a9634fb8
parent 72565 2641200acd545c0efd8527257a402b87f8a8e898
child 72567 57f6c41c843101a3c2b7b6552e5c2026e3fe6ab9
push id45
push userffxbld
push dateThu, 22 Sep 2011 17:29:26 +0000
treeherdermozilla-release@b3273da80b44 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslanguagenazi
milestone7.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
*Fewer* *occurrences*, not "less occurences". r=languagenazi
config/check_source_count.py
js/src/config/check_source_count.py
--- a/config/check_source_count.py
+++ b/config/check_source_count.py
@@ -28,17 +28,17 @@ for f in files:
         details[f] = num
 
 if count == expected_count:
     print "TEST-PASS | check_source_count.py %s | %d" % (search_string, 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):
         print "Found %d occurences in %s" % (details[k],k)
     sys.exit(-1)
 
--- a/js/src/config/check_source_count.py
+++ b/js/src/config/check_source_count.py
@@ -28,17 +28,17 @@ for f in files:
         details[f] = num
 
 if count == expected_count:
     print "TEST-PASS | check_source_count.py %s | %d" % (search_string, 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):
         print "Found %d occurences in %s" % (details[k],k)
     sys.exit(-1)