 
       event = buildKeydownEvent(key: 'A', shiftKey: true, target: document.body)
       keymapManager.handleKeyboardEvent(event)
-      assert(!event.defaultPrevented)
+      assert(not event.defaultPrevented)
 
     it "rejects bindings with an empty command and logs a warning to the console", ->
       stub(console, 'warn')


          event = buildKeydownEvent(key: 'y', ctrlKey: true, target: elementB)
          keymapManager.handleKeyboardEvent(event)
          assert(!event.defaultPrevented)

          assert.equal(events.length, 3)
          assert.equal(events[0].type, 'y-command')

          keymapManager.onDidReloadKeymap -> reloaded = true

          afterWaiting = ->
            assert(not reloaded)

            # Can start watching again after cancelling
            keymapManager.loadKeymap(keymapFilePath, watch: true)
