Skip to content

Commit bdf1402

Browse files
committed
[sccs] unify integration tests into a single unit, except for diff
1 parent 2c058ae commit bdf1402

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

sccs/tests/sccs-tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mod what;
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn generate_test_plan(args: Vec<&str>, expected_out: &str) -> TestPlan {
2929
}
3030

3131
#[test]
32-
fn test_single_identification() {
32+
fn single_identification() {
3333
let file_path = test_file_path("single_identification.txt");
3434
let plan = generate_test_plan(
3535
vec![file_path.to_str().unwrap()],
@@ -39,7 +39,7 @@ fn test_single_identification() {
3939
}
4040

4141
#[test]
42-
fn test_multiple_identifications() {
42+
fn multiple_identifications() {
4343
let file_path = test_file_path("multiple_identifications.txt");
4444
let plan = generate_test_plan(
4545
vec![file_path.to_str().unwrap()],
@@ -49,7 +49,7 @@ fn test_multiple_identifications() {
4949
}
5050

5151
#[test]
52-
fn test_single_identification_flag() {
52+
fn single_identification_flag() {
5353
let file_path = test_file_path("single_identification_flag.txt");
5454
let plan = generate_test_plan(
5555
vec!["-s", file_path.to_str().unwrap()],
@@ -59,21 +59,21 @@ fn test_single_identification_flag() {
5959
}
6060

6161
#[test]
62-
fn test_no_identification() {
62+
fn no_identification() {
6363
let file_path = test_file_path("no_identification.txt");
6464
let plan = generate_test_plan(vec![file_path.to_str().unwrap()], "");
6565
run_test(plan);
6666
}
6767

6868
#[test]
69-
fn test_empty_file() {
69+
fn empty_file() {
7070
let file_path = test_file_path("empty_file.txt");
7171
let plan = generate_test_plan(vec![file_path.to_str().unwrap()], "");
7272
run_test(plan);
7373
}
7474

7575
#[test]
76-
fn test_special_characters() {
76+
fn special_characters() {
7777
let file_path = test_file_path("special_characters.txt");
7878
let plan = generate_test_plan(
7979
vec![file_path.to_str().unwrap()],

0 commit comments

Comments
 (0)