Skip to content

Commit

Permalink
Increase coverage
Browse files Browse the repository at this point in the history
* increase coverage to 100% by commenting out an unused branch
* the branch is within the current comment styling which will be
  deprecated at a later time
  • Loading branch information
oliverxchen committed May 16, 2022
1 parent 62f4ec3 commit 6bfcce2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions sqlean/sql_styler.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ def _get_separator_by_idx(self, idx: int, is_inline: bool) -> str:
if idx < self.last_item_idx:
this_separator = self.separator
else:
if self.has_ending_separator:
this_separator = self.separator
else:
this_separator = ""
# if self.has_ending_separator:
this_separator = self.separator
# currently, has_ending_separator is always True
# else:
# this_separator = ""
elif idx < self.num_children:
this_separator = ""
if is_inline:
Expand Down

0 comments on commit 6bfcce2

Please sign in to comment.