Skip to content

Commit 21e18ce

Browse files
committed
proper
1 parent 3c932b6 commit 21e18ce

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/docbuilder/rustwide_builder.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,8 +1980,6 @@ mod tests {
19801980
#[ignore]
19811981
fn test_no_implicit_features_for_optional_dependencies_with_dep_syntax() {
19821982
wrapper(|env| {
1983-
let crate_ = "stylish-core";
1984-
let version = "0.1.2";
19851983
let mut builder = RustwideBuilder::init(env).unwrap();
19861984
builder.update_toolchain()?;
19871985
assert!(
@@ -1991,7 +1989,7 @@ mod tests {
19911989
);
19921990

19931991
assert_eq!(
1994-
get_features(env, crate_, version)?
1992+
get_features(env, "optional-dep", "0.0.1")?
19951993
.unwrap()
19961994
.iter()
19971995
.map(|f| f.name.to_owned())

tests/crates/optional-dep/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "stylish-core"
2+
name = "optional-dep"
33
version = "0.0.1"
44
edition = "2024"
55

0 commit comments

Comments
 (0)