mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
test(spec: beautiful: get_font): convert user object to string before comparison (#3348)
This commit is contained in:
parent
4c8ac65d4c
commit
59789bc2cf
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ describe("beautiful init", function()
|
|||
|
||||
-- Check beautiful.get_font and get_merged_font
|
||||
it('Check beautiful.get_font', function()
|
||||
assert.is_same(beautiful.get_font("Monospace Bold 12"),
|
||||
beautiful.get_merged_font("Monospace 12", "Bold"))
|
||||
assert.is_same(beautiful.get_font("Monospace Bold 12"):to_string(),
|
||||
beautiful.get_merged_font("Monospace 12", "Bold"):to_string())
|
||||
end)
|
||||
|
||||
-- Check beautiful.get_font_height
|
||||
|
|
Loading…
Reference in a new issue