Sha256: 2c3bf2e79ecc33f0fba33d13a91a1ae9390f9f7a466af8eb215636662e20462a

Contents?: true

Size: 976 Bytes

Versions: 30

Compression:

Stored size: 976 Bytes

Contents

const fs = require('fs');
const assert = require('assert');

exports.assert_comments_exist = function() {
  const bindings_file = require.resolve('wasm-bindgen-test');
  const contents = fs.readFileSync(bindings_file);
  assert.ok(contents.includes("* annotated function ✔️ \" \\ ' {"));
  assert.ok(contents.includes("* annotated struct type"));
  assert.ok(contents.includes("* annotated struct field b"));
  assert.ok(contents.includes("* annotated struct field c"));
  assert.ok(contents.includes("* annotated struct constructor"));
  assert.ok(contents.includes("* annotated struct method"));
  assert.ok(contents.includes("* annotated struct getter"));
  assert.ok(contents.includes("* annotated struct setter"));
  assert.ok(contents.includes("* annotated struct static method"));
  assert.ok(contents.includes("* annotated enum type"));
  assert.ok(contents.includes("* annotated enum variant 1"));
  assert.ok(contents.includes("* annotated enum variant 2"));
};

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
wasmtime-23.0.2 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-22.0.0 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-21.0.1 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-20.0.2 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-20.0.0 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-18.0.3 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-17.0.1 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-17.0.0 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-16.0.0 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-15.0.1 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-15.0.0 ./ext/cargo-vendor/wasm-bindgen-0.2.89/tests/wasm/comments.js
wasmtime-14.0.4 ./ext/cargo-vendor/wasm-bindgen-0.2.87/tests/wasm/comments.js
wasmtime-14.0.3 ./ext/cargo-vendor/wasm-bindgen-0.2.87/tests/wasm/comments.js
wasmtime-14.0.1 ./ext/cargo-vendor/wasm-bindgen-0.2.87/tests/wasm/comments.js
wasmtime-14.0.0 ./ext/cargo-vendor/wasm-bindgen-0.2.87/tests/wasm/comments.js
wasmtime-13.0.0 ./ext/cargo-vendor/wasm-bindgen-0.2.87/tests/wasm/comments.js
wasmtime-12.0.1 ./ext/cargo-vendor/wasm-bindgen-0.2.87/tests/wasm/comments.js
wasmtime-12.0.0 ./ext/cargo-vendor/wasm-bindgen-0.2.87/tests/wasm/comments.js
wasmtime-11.0.0 ./ext/cargo-vendor/wasm-bindgen-0.2.87/tests/wasm/comments.js
wasmtime-10.0.1 ./ext/cargo-vendor/wasm-bindgen-0.2.87/tests/wasm/comments.js