repobee / repobee-sanitizer

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

[fix] Fix error when Check syntax is given an empty list #86

Closed tohanss closed 4 years ago

tohanss commented 4 years ago

Added an invalid test case file to check implementation as well as a test to make sure that check_syntax does not crash if we give it an empty list

Fix #75

codecov[bot] commented 4 years ago

Codecov Report

Merging #86 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #86   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          220       220           
  Branches        35        35           
=========================================
  Hits           220       220           
Impacted Files Coverage Δ
repobee_sanitizer/_syntax.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a39b8ed...d2cdff7. Read the comment docs.