Skip to content

Commit

Permalink
Add unreachable code to test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Sep 6, 2023
1 parent 7fbe7a2 commit 16f830f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/ruff_workspace/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,8 @@ mod tests {
Rule::DeleteFullSlice,
Rule::CheckAndRemoveFromSet,
Rule::QuadraticListSummation,
#[cfg(feature = "unreachable-code")]
Rule::UnreachableCode,
];

#[allow(clippy::needless_pass_by_value)]
Expand Down

0 comments on commit 16f830f

Please sign in to comment.