@@ -894,10 +894,6 @@ mod tests {
894
894
895
895
#[ test]
896
896
fn load_dependencies ( ) {
897
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
898
- #[ cfg( not( feature = "multi_threaded" ) ) ]
899
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
900
-
901
897
let dir = Dir :: default ( ) ;
902
898
903
899
let a_path = "a.cool.ron" ;
@@ -1202,10 +1198,6 @@ mod tests {
1202
1198
1203
1199
#[ test]
1204
1200
fn failure_load_states ( ) {
1205
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1206
- #[ cfg( not( feature = "multi_threaded" ) ) ]
1207
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
1208
-
1209
1201
let dir = Dir :: default ( ) ;
1210
1202
1211
1203
let a_path = "a.cool.ron" ;
@@ -1335,10 +1327,6 @@ mod tests {
1335
1327
1336
1328
#[ test]
1337
1329
fn dependency_load_states ( ) {
1338
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1339
- #[ cfg( not( feature = "multi_threaded" ) ) ]
1340
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
1341
-
1342
1330
let a_path = "a.cool.ron" ;
1343
1331
let a_ron = r#"
1344
1332
(
@@ -1474,10 +1462,6 @@ mod tests {
1474
1462
1475
1463
#[ test]
1476
1464
fn manual_asset_management ( ) {
1477
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1478
- #[ cfg( not( feature = "multi_threaded" ) ) ]
1479
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
1480
-
1481
1465
let dir = Dir :: default ( ) ;
1482
1466
let dep_path = "dep.cool.ron" ;
1483
1467
@@ -1575,10 +1559,6 @@ mod tests {
1575
1559
1576
1560
#[ test]
1577
1561
fn load_folder ( ) {
1578
- // The particular usage of GatedReader in this test will cause deadlocking if running single-threaded
1579
- #[ cfg( not( feature = "multi_threaded" ) ) ]
1580
- panic ! ( "This test requires the \" multi_threaded\" feature, otherwise it will deadlock.\n cargo test --package bevy_asset --features multi_threaded" ) ;
1581
-
1582
1562
let dir = Dir :: default ( ) ;
1583
1563
1584
1564
let a_path = "text/a.cool.ron" ;
0 commit comments