Skip to content

Commit 632701d

Browse files
committed
fix tests
1 parent 0fc5479 commit 632701d

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

example/external.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var rust = require('rustify')
22

33
var wasm = rust('./add.rs')
44

5-
WebAssembly.instantiate(wasm, {})
5+
WebAssembly.instantiate(wasm, {}) // eslint-disable-line
66
.then(function (res) {
77
var addOne = res.instance.exports.add_one
88
console.log(addOne(41))

example/inline.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ var wasm = rust`
66
x + 1
77
}
88
`
9-
10-
WebAssembly.instantiate(wasm, {})
9+
WebAssembly.instantiate(wasm, {}) // eslint-disable-line
1110
.then(function (res) {
1211
var addOne = res.instance.exports.add_one
1312
console.log(addOne(41))

lib/transform.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,3 @@ function transform (filename, opts) {
146146

147147
function cooked (node) { return node.value.cooked }
148148
function expr (ex) { return { _expr: ex.source() } }
149-
function charCodeAt (c) { return c.charCodeAt(0) }

0 commit comments

Comments
 (0)