diff --git a/tests/wiring.test.mjs b/tests/wiring.test.mjs index bc027e6..a4a1456 100644 --- a/tests/wiring.test.mjs +++ b/tests/wiring.test.mjs @@ -238,7 +238,7 @@ test('player propulsion smoke emits at world engine positions with per-particle assert.match(source, /const particle = this\.playerSmoke\.emitParticleAt\(engineX, engineY, 1\)/); assert.match(source, /particle\.velocityX = velocityX/); assert.match(source, /particle\.velocityY = velocityY/); - assert.match(source, /Phaser\.Math\.Linear\(150, 48, forwardThrust\)/); + assert.match(source, /Phaser\.Math\.Linear\(150, 48, effectiveForwardThrust\)/); assert.doesNotMatch(source, /this\.playerSmoke\.setPosition\(sternX, sternY\)/); assert.doesNotMatch(source, /this\.playerSmoke\.setParticleSpeed\(/); });