@@ -863,10 +863,6 @@ mod tests {
863
863
864
864
#[ test]
865
865
fn load_dependencies ( ) {
866
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
867
- #[ cfg( not( feature = "multi_threaded" ) ) ]
868
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
869
-
870
866
let dir = Dir :: default ( ) ;
871
867
872
868
let a_path = "a.cool.ron" ;
@@ -1171,10 +1167,6 @@ mod tests {
1171
1167
1172
1168
#[ test]
1173
1169
fn failure_load_states ( ) {
1174
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1175
- #[ cfg( not( feature = "multi_threaded" ) ) ]
1176
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
1177
-
1178
1170
let dir = Dir :: default ( ) ;
1179
1171
1180
1172
let a_path = "a.cool.ron" ;
@@ -1304,10 +1296,6 @@ mod tests {
1304
1296
1305
1297
#[ test]
1306
1298
fn dependency_load_states ( ) {
1307
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1308
- #[ cfg( not( feature = "multi_threaded" ) ) ]
1309
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
1310
-
1311
1299
let a_path = "a.cool.ron" ;
1312
1300
let a_ron = r#"
1313
1301
(
@@ -1443,10 +1431,6 @@ mod tests {
1443
1431
1444
1432
#[ test]
1445
1433
fn manual_asset_management ( ) {
1446
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1447
- #[ cfg( not( feature = "multi_threaded" ) ) ]
1448
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
1449
-
1450
1434
let dir = Dir :: default ( ) ;
1451
1435
let dep_path = "dep.cool.ron" ;
1452
1436
@@ -1544,10 +1528,6 @@ mod tests {
1544
1528
1545
1529
#[ test]
1546
1530
fn load_folder ( ) {
1547
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1548
- #[ cfg( not( feature = "multi_threaded" ) ) ]
1549
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
1550
-
1551
1531
let dir = Dir :: default ( ) ;
1552
1532
1553
1533
let a_path = "text/a.cool.ron" ;
0 commit comments