Vendor dependencies
Let's see how I like this workflow.
This commit is contained in:
parent
34d1830413
commit
9c435dc440
7500 changed files with 1665121 additions and 99 deletions
17
vendor/wasm-bindgen/tests/wasm/char.js
vendored
Normal file
17
vendor/wasm-bindgen/tests/wasm/char.js
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
const wasm = require('wasm-bindgen-test.js');
|
||||
const assert = require('assert');
|
||||
|
||||
exports.js_identity = a => a;
|
||||
|
||||
exports.js_works = () => {
|
||||
assert.strictEqual(wasm.letter(), 'a');
|
||||
assert.strictEqual(wasm.face(), '😀');
|
||||
assert.strictEqual(wasm.rust_identity('Ղ'), 'Ղ');
|
||||
assert.strictEqual(wasm.rust_identity('ҝ'), 'ҝ');
|
||||
assert.strictEqual(wasm.rust_identity('Δ'), 'Δ');
|
||||
assert.strictEqual(wasm.rust_identity('䉨'), '䉨');
|
||||
assert.strictEqual(wasm.rust_js_identity('a'), 'a');
|
||||
assert.strictEqual(wasm.rust_js_identity('㊻'), '㊻');
|
||||
wasm.rust_letter('a');
|
||||
wasm.rust_face('😀');
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue