prism-code-editor
Version:
Lightweight, extensible code editor component for the web using Prism
21 lines (20 loc) • 540 B
JavaScript
import { l as languages } from "../../index-DF54SWhA.js";
import "./yaml.js";
languages.tap = {
"fail": /not ok[^#{\n]*/,
"pass": /ok[^#{\n]*/,
"pragma": /pragma [+-][a-z]+/,
"bailout": /bail out!.*/i,
"version": /tap version \d+/i,
"plan": /\b\d+\.\.\d+(?: +#.*)?/,
"subtest": /# Subtest(?:: .*)?/g,
"punctuation": /[{}]/,
"directive": /#.*/,
"yamlish": {
pattern: /(^[ ]*)---[^]*?\n[ ]*\.{3}$/m,
lookbehind: true,
alias: "language-yaml",
inside: languages.yaml
}
};
//# sourceMappingURL=tap.js.map