Browse Source

Update joystick.lua

ell 1 year ago
parent
commit
eda26b3574
1 changed files with 1 additions and 1 deletions
  1. 1 1
      testing/tests/joystick.lua

+ 1 - 1
testing/tests/joystick.lua

@@ -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