mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-04 02:58:10 +10:00
Change is_sorted.py (#556)
This commit is contained in:
@@ -15,4 +15,8 @@ for category in categories:
|
||||
content = json.loads(cat_file.read())
|
||||
if content != sorted(content, key=str.casefold):
|
||||
print(f"{category} is not sorted correctly")
|
||||
print("It should look like")
|
||||
print(sorted(content, key=str.casefold))
|
||||
print("But it is")
|
||||
print(content)
|
||||
exit(1)
|
||||
|
||||
Reference in New Issue
Block a user