Skip to content

Test(git-authors): add unit test #1088

@vanpipy

Description

@vanpipy

File

git-authors

git-authors has a weird behavior that invoke the command directly without AUTHORS or target file and the result will be insert into the git-authors file, then open it via the default editor. Take a look here. I don't think it a good case to use the command.

Testcases

  1. update the existed AUTHORS file with invoking directly.
  2. insert the authors information in the target file when invoking it with a parameter. update with another PR.
  3. list all authors
  4. list all authors without the email

There is no the function which open the authors file via the default editor any more.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions