Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 5e7db7e

Browse files
committed
Fix client_init test code
1 parent 39d617b commit 5e7db7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/client.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2160,9 +2160,11 @@ fn client_init_impl(convert_case: fn(&str) -> String) {
21602160
.file(
21612161
"src/main.rs",
21622162
r#"
2163+
#![allow(dead_code)]
21632164
struct NonCfg;
21642165
#[cfg(test)]
21652166
struct CfgTest { inner: PathBuf }
2167+
fn main() {}
21662168
"#,
21672169
)
21682170
.build();

0 commit comments

Comments
 (0)