spec: Use assert.is.equal

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-06-04 15:41:41 +02:00
parent d9cd0a4f0e
commit 0ac9a67d07
1 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ describe("gears.object", function()
obj2.foo = 42 obj2.foo = 42
assert.is_true(obj2.foo == 42) assert.is.equal(obj2.foo, 42)
end) end)
it("dynamic property disabled", function() it("dynamic property disabled", function()
@ -158,7 +158,7 @@ describe("gears.object", function()
obj2.foo = 42 obj2.foo = 42
assert.is_true(obj2.foo == "bar") assert.is.equal(obj2.foo, "bar")
end) end)
it("auto emit disabled", function() it("auto emit disabled", function()