UNPKG

re2-latin1

Version:

Bindings for RE2: fast, safe alternative to backtracking regular expression engines.

23 lines (16 loc) 548 B
"use strict"; var unit = require("heya-unit"); var RE2 = require("../re2"); // tests unit.add(module, [ function test_prototype(t) { "use strict"; eval(t.TEST("RE2.prototype.source === '(?:)'")); eval(t.TEST("RE2.prototype.flags === ''")); eval(t.TEST("RE2.prototype.global === undefined")); eval(t.TEST("RE2.prototype.ignoreCase === undefined")); eval(t.TEST("RE2.prototype.multiline === undefined")); eval(t.TEST("RE2.prototype.sticky === undefined")); eval(t.TEST("RE2.prototype.lastIndex === undefined")); } ]);