mirror of
https://github.com/love2d/love.git
synced 2026-08-28 18:26:55 +02:00
Update joystick.lua
This commit is contained in:
@@ -26,7 +26,7 @@ end
|
||||
-- love.joystick.getJoysticks
|
||||
love.test.joystick.getJoysticks = function(test)
|
||||
local joysticks = love.joystick.getJoysticks()
|
||||
test:assertEquals(0, #joysticks, 'check no joysticks')
|
||||
test:assertGreaterEqual(0, #joysticks, 'check is count')
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user