Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

failing shift test for 2 => @

  • Loading branch information...
commit 1a5aa107fd87142d3c54d15dbb783c22cc137897 1 parent f596f34
James Halliday authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 test/keysym.js
5 test/keysym.js
View
@@ -1,7 +1,8 @@
+var assert = require('assert');
var ks = require('keysym');
var Hash = require('hashish');
-exports.symmetric = function (assert) {
+exports.symmetric = function () {
assert.ok(ks.records.length > 50); // at least
ks.records.forEach(function (rec) {
var k = ks.fromKeysym(rec.keysym);
@@ -20,7 +21,7 @@ exports.symmetric = function (assert) {
var Lazy = require('lazy');
var fs = require('fs');
-exports.fromFile = function (assert) {
+exports.fromFile = function () {
var s = fs.createReadStream(__dirname + '/../data/keysyms.txt');
Lazy(s).lines.map(String)
.filter(function (line) { return line.match(/^0x/) })
Please sign in to comment.
Something went wrong with that request. Please try again.