mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Add more descriptive error message to screenshot test.
This commit is contained in:
parent
75943e788b
commit
036b4551c7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue