diff options
| author | mat <git@matdoes.dev> | 2026-03-05 02:42:24 -0545 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-03-05 02:42:24 -0545 |
| commit | 009afd7975439b1d8d743af17e3cf7171a202cbc (patch) | |
| tree | 8ccce9b71853f89f7c9cc4b5e6d2d1ec886dd8d3 | |
| parent | 6be947e79d91479ddfc7f1199a81ebbc64658fac (diff) | |
| download | azalea-drasl-009afd7975439b1d8d743af17e3cf7171a202cbc.tar.xz | |
update tests using old property names
| -rw-r--r-- | azalea-block/src/lib.rs | 4 | ||||
| -rw-r--r-- | azalea-physics/tests/physics.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/azalea-block/src/lib.rs b/azalea-block/src/lib.rs index 9f39f471..60849b83 100644 --- a/azalea-block/src/lib.rs +++ b/azalea-block/src/lib.rs @@ -118,11 +118,11 @@ mod tests { pub fn test_integer_properties() { // Test with oak sapling that has an integer-like stage property let sapling_stage_0 = crate::blocks::OakSapling { - stage: crate::properties::OakSaplingStage::_0, + stage: crate::properties::Stage::_0, }; let sapling_stage_1 = crate::blocks::OakSapling { - stage: crate::properties::OakSaplingStage::_1, + stage: crate::properties::Stage::_1, }; // Test stage 0 diff --git a/azalea-physics/tests/physics.rs b/azalea-physics/tests/physics.rs index 8359e05e..748cc7bc 100644 --- a/azalea-physics/tests/physics.rs +++ b/azalea-physics/tests/physics.rs @@ -440,9 +440,9 @@ fn test_afk_pool() { .set_block_state(BlockPos { x, y, z }, b); }; - let stone = azalea_block::blocks::Stone {}.into(); + let stone = azalea_block::blocks::Stone.into(); let sign = azalea_block::blocks::OakSign { - rotation: azalea_block::properties::OakSignRotation::_0, + rotation: azalea_block::properties::Rotation::_0, waterlogged: false, } .into(); |
