()
| 12 | |
| 13 | #[test] |
| 14 | fn it_builds_debug() -> Result<()> { |
| 15 | let project = Project::new("foo", true)?; |
| 16 | |
| 17 | project |
| 18 | .cargo_component(["build"]) |
| 19 | .assert() |
| 20 | .stderr(contains( |
| 21 | "Finished `dev` profile [unoptimized + debuginfo] target(s)", |
| 22 | )) |
| 23 | .success(); |
| 24 | |
| 25 | validate_component(&project.debug_wasm("foo"))?; |
| 26 | |
| 27 | // A lock file should only be generated for projects with |
| 28 | // registry dependencies |
| 29 | assert!(!project.root().join("Cargo-component.lock").exists()); |
| 30 | |
| 31 | Ok(()) |
| 32 | } |
| 33 | |
| 34 | #[test] |
| 35 | fn it_builds_a_bin_project_with_snake_case() -> Result<()> { |
nothing calls this directly
no test coverage detected