repobee / repobee-sanitizer

A plugin for sanitizing master repositories before distribution to students
MIT License
2 stars 3 forks source link

Test checking that staged files in repo leads to fail can pass on unstaged files. #37

Closed tohanss closed 4 years ago

tohanss commented 4 years ago

https://github.com/repobee/repobee-sanitizer/blob/a6bae3190d1972f012033ade973d7558e8e400fe/tests/test_ext_commands.py#L154

This assertion will pass if the message contains "staged file", but also "unstaged file" which are two separate cases.