From 93dc26aabc27eb70d14c8f9f7ebb7bf8c68fb6f8 Mon Sep 17 00:00:00 2001 From: tombay Date: Tue, 27 Aug 2024 11:52:47 +1000 Subject: [PATCH] Update bad_turn.lua put this back as error is expected. see why it is not being picked up --- test/data/profiles/bad_turn.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/data/profiles/bad_turn.lua b/test/data/profiles/bad_turn.lua index a0cd5a1bf..0fecb7d2d 100644 --- a/test/data/profiles/bad_turn.lua +++ b/test/data/profiles/bad_turn.lua @@ -119,9 +119,9 @@ function process_way (profile, way, result) end function process_turn (profile, turn) - --if (2 < nil) then - -- print("2 is less than nil") - --end + if (2 < nil) then + print("2 is less than nil") + end if turn.is_u_turn then turn.duration = turn.duration + profile.properties.u_turn_penalty