Skip to content

Commit b7bc599

Browse files
authored
chore(test): Use library crate in test (#2201)
1 parent 0456310 commit b7bc599

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

tests/ambiguous_methods/src/main.rs renamed to tests/ambiguous_methods/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,3 @@
22
extern crate tonic;
33

44
tonic::include_proto!("ambiguous_methods");
5-
6-
fn main() {
7-
println!("Hello, world!");
8-
}

tests/root-crate-path/src/main.rs renamed to tests/root-crate-path/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,3 @@ pub mod foo {
1313
}
1414
}
1515
}
16-
17-
fn main() {
18-
println!("Hello, world!");
19-
}
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
mod stream_conflict {
22
tonic::include_proto!("stream_conflict");
33
}
4-
5-
fn main() {
6-
println!("Hello, world!");
7-
}

0 commit comments

Comments
 (0)