From a91135ce512f907ed085d9aac147d8fcad356406 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Mon, 26 May 2025 11:07:38 +0800 Subject: Added assignment expression for switch syntax. --- spec/outputs/codes_from_doc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/outputs/codes_from_doc.lua') diff --git a/spec/outputs/codes_from_doc.lua b/spec/outputs/codes_from_doc.lua index c7a2d50..d857dec 100644 --- a/spec/outputs/codes_from_doc.lua +++ b/spec/outputs/codes_from_doc.lua @@ -1234,7 +1234,7 @@ if "Robert" == name then elseif "Dan" == name or "Daniel" == name then print("Your name, it's Dan") else - print("I don't know about your name") + print("I don't know about you with name " .. tostring(name)) end local b = 1 local next_number @@ -3450,7 +3450,7 @@ if "Robert" == name then elseif "Dan" == name or "Daniel" == name then print("Your name, it's Dan") else - print("I don't know about your name") + print("I don't know about you with name " .. tostring(name)) end local b = 1 local next_number -- cgit v1.2.3-55-g6feb