Skip to content

Commit

Permalink
generic
Browse files Browse the repository at this point in the history
  • Loading branch information
maksym-arutyunyan committed Jul 20, 2024
1 parent 9c13611 commit b928784
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ mod common;
use keepsorted::SortStrategy::Generic;

#[test]
fn default_empty() {
fn generic_empty() {
test_inner!(Generic, "", "");
}

#[test]
fn default_single_item() {
fn generic_single_item() {
test_inner!(
Generic,
r#"
Expand All @@ -22,7 +22,7 @@ a
}

#[test]
fn default_no_sorting_comment() {
fn generic_no_sorting_comment() {
test_inner!(
Generic,
r#"
Expand All @@ -37,7 +37,7 @@ a
}

#[test]
fn default_simple_block() {
fn generic_simple_block() {
test_inner!(
Generic,
r#"
Expand All @@ -54,7 +54,7 @@ b
}

#[test]
fn default_blocks_divided_by_newline() {
fn generic_blocks_divided_by_newline() {
test_inner!(
Generic,
r#"
Expand Down

0 comments on commit b928784

Please sign in to comment.