From 009afd7975439b1d8d743af17e3cf7171a202cbc Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 5 Mar 2026 02:42:24 -0545 Subject: update tests using old property names --- azalea-block/src/lib.rs | 4 ++-- 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(); -- cgit v1.2.3