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 {
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( ) )
Original file line number Diff line number Diff line change 11[package ]
2- name = " stylish-core "
2+ name = " optional-dep "
33version = " 0.0.1"
44edition = " 2024"
55
You can’t perform that action at this time.
0 commit comments