File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
tests/crates/optional-dep Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1980,8 +1980,6 @@ mod tests {
1980
1980
#[ ignore]
1981
1981
fn test_no_implicit_features_for_optional_dependencies_with_dep_syntax ( ) {
1982
1982
wrapper ( |env| {
1983
- let crate_ = "stylish-core" ;
1984
- let version = "0.1.2" ;
1985
1983
let mut builder = RustwideBuilder :: init ( env) . unwrap ( ) ;
1986
1984
builder. update_toolchain ( ) ?;
1987
1985
assert ! (
@@ -1991,7 +1989,7 @@ mod tests {
1991
1989
) ;
1992
1990
1993
1991
assert_eq ! (
1994
- get_features( env, crate_ , version ) ?
1992
+ get_features( env, "optional-dep" , "0.0.1" ) ?
1995
1993
. unwrap( )
1996
1994
. iter( )
1997
1995
. map( |f| f. name. to_owned( ) )
Original file line number Diff line number Diff line change 1
1
[package ]
2
- name = " stylish-core "
2
+ name = " optional-dep "
3
3
version = " 0.0.1"
4
4
edition = " 2024"
5
5
You can’t perform that action at this time.
0 commit comments