test(spec: beautiful: get_font): convert user object to string before comparison (#3348)
This commit is contained in:
parent
4c8ac65d4c
commit
59789bc2cf
|
@ -12,8 +12,8 @@ describe("beautiful init", function()
|
||||||
|
|
||||||
-- Check beautiful.get_font and get_merged_font
|
-- Check beautiful.get_font and get_merged_font
|
||||||
it('Check beautiful.get_font', function()
|
it('Check beautiful.get_font', function()
|
||||||
assert.is_same(beautiful.get_font("Monospace Bold 12"),
|
assert.is_same(beautiful.get_font("Monospace Bold 12"):to_string(),
|
||||||
beautiful.get_merged_font("Monospace 12", "Bold"))
|
beautiful.get_merged_font("Monospace 12", "Bold"):to_string())
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Check beautiful.get_font_height
|
-- Check beautiful.get_font_height
|
||||||
|
|
Loading…
Reference in New Issue