diff --git a/tests/test-screenshot.lua b/tests/test-screenshot.lua index c64369075..0680895f6 100644 --- a/tests/test-screenshot.lua +++ b/tests/test-screenshot.lua @@ -204,7 +204,7 @@ table.insert(steps, function() local f, l = string.find(ss.filepath, name_prfx) if f ~= 1 then - print("First if: " .. ss.filepath .. " : " .. name_prfx) + print("Failed first if: " .. ss.filepath .. " : " .. name_prfx) return false end @@ -212,6 +212,7 @@ table.insert(steps, function() ss.filepath = name_prfx if ss.filepath ~= name_prfx then + print("Failed second if: " .. ss.filepath .. " : " .. name_prfx) return false end