Skip to content

Commit 2edf809

Browse files
committed
refactor: remove repeating suffices from test names
1 parent c66f597 commit 2edf809

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/hardlinks_deduplication.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ fn stdio(command: Command) -> Command {
3636
}
3737

3838
#[test]
39-
fn multiple_hardlinks_to_a_single_file_with_deduplication() {
39+
fn multiple_hardlinks_to_a_single_file() {
4040
let links = 10;
4141
let workspace = SampleWorkspace::multiple_hardlinks_to_a_single_file(100_000, links);
4242

@@ -129,7 +129,7 @@ fn multiple_hardlinks_to_a_single_file_with_deduplication() {
129129
}
130130

131131
#[test]
132-
fn complex_tree_with_shared_and_unique_files_with_deduplication() {
132+
fn complex_tree_with_shared_and_unique_files() {
133133
let files_per_branch = 2 * 3 * 4;
134134
let workspace =
135135
SampleWorkspace::complex_tree_with_shared_and_unique_files(files_per_branch, 100_000);
@@ -340,7 +340,7 @@ fn complex_tree_with_shared_and_unique_files_with_deduplication() {
340340
}
341341

342342
#[test]
343-
fn hardlinks_and_non_hardlinks_with_deduplication() {
343+
fn hardlinks_and_non_hardlinks() {
344344
#![expect(clippy::identity_op)]
345345

346346
let files_per_branch = 2 * 4;

tests/hardlinks_without_deduplication.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn stdio(command: Command) -> Command {
2424
}
2525

2626
#[test]
27-
fn multiple_hardlinks_to_a_single_file_without_deduplication() {
27+
fn multiple_hardlinks_to_a_single_file() {
2828
let links = 10;
2929
let workspace = SampleWorkspace::multiple_hardlinks_to_a_single_file(100_000, links);
3030

@@ -56,7 +56,7 @@ fn multiple_hardlinks_to_a_single_file_without_deduplication() {
5656
}
5757

5858
#[test]
59-
fn complex_tree_with_shared_and_unique_files_without_deduplication() {
59+
fn complex_tree_with_shared_and_unique_files() {
6060
let files_per_branch = 2 * 3 * 4;
6161
let workspace =
6262
SampleWorkspace::complex_tree_with_shared_and_unique_files(files_per_branch, 100_000);
@@ -121,7 +121,7 @@ fn complex_tree_with_shared_and_unique_files_without_deduplication() {
121121
}
122122

123123
#[test]
124-
fn hardlinks_and_non_hardlinks_without_deduplication() {
124+
fn hardlinks_and_non_hardlinks() {
125125
let files_per_branch = 2 * 4;
126126
let workspace =
127127
SampleWorkspace::complex_tree_with_shared_and_unique_files(files_per_branch, 100_000);

0 commit comments

Comments
 (0)