1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 17:50:07 +00:00

rename test to tests

This commit is contained in:
Markus Hofbauer 2022-11-22 16:24:15 +01:00 committed by Markus Hofbauer
parent d0c2053a1d
commit 821ee1ebec
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
"""Check for alias collisions within the codebase""" """Check for alias collisions within the codebase"""
from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser, FileType from argparse import ArgumentDefaultsHelpFormatter, ArgumentParser
from pathlib import Path from pathlib import Path
from typing import List from typing import List
from dataclasses import dataclass from dataclasses import dataclass
@ -54,7 +54,7 @@ def find_all_aliases(path: Path) -> List:
def check_for_duplicates(aliases: List[Alias]) -> None: def check_for_duplicates(aliases: List[Alias]) -> None:
elements = dict() elements = {}
for alias in aliases: for alias in aliases:
if alias.alias in elements: if alias.alias in elements:
existing = elements[alias.alias] existing = elements[alias.alias]