You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require("busted")
describe("Latest busted from Luarocks", function()
it("seems to have a problem with is", function()
assert.is_true(1 == 2)
end)
it("isn't limited to true", function()
assert.is_false(2 == 2)
end)
it("doesn't have that problem with True", function()
assert.True(1 == 2)
end)
it("does not have a problem with is.True, either", function()
assert.is.True(1 == 2)
end)
end)
2 successes / 2 failures / 0 pending : 0 seconds.
Failure → busted-test.lua @ 10
doesn't have that problem with True
busted-test.lua:11: Expected objects to be the same. Passed in:
(boolean) false
Expected:
(boolean) true
Failure → busted-test.lua @ 13
does not have a problem with is.True
busted-test.lua:14: Expected objects to be the same. Passed in:
(boolean) false
Expected:
(boolean) true
The text was updated successfully, but these errors were encountered:
2 successes / 2 failures / 0 pending : 0 seconds.
Failure → busted-test.lua @ 10
doesn't have that problem with True
busted-test.lua:11: Expected objects to be the same. Passed in:
(boolean) false
Expected:
(boolean) true
Failure → busted-test.lua @ 13
does not have a problem with is.True
busted-test.lua:14: Expected objects to be the same. Passed in:
(boolean) false
Expected:
(boolean) true
The text was updated successfully, but these errors were encountered: