import {
  a as e,
  c as s
} from "./chunk-IO47FP3U.js";

// ../node_modules/highlight.js/lib/languages/tap.js
var t = s((o, n) => {
  function i(a) {
    return {
      name: "Test Anything Protocol",
      case_insensitive: !0,
      contains: [
        a.HASH_COMMENT_MODE,
        // version of format and total amount of testcases
        {
          className: "meta",
          variants: [
            {
              begin: "^TAP version (\\d+)$"
            },
            {
              begin: "^1\\.\\.(\\d+)$"
            }
          ]
        },
        // YAML block
        {
          begin: /---$/,
          end: "\\.\\.\\.$",
          subLanguage: "yaml",
          relevance: 0
        },
        // testcase number
        {
          className: "number",
          begin: " (\\d+) "
        },
        // testcase status and description
        {
          className: "symbol",
          variants: [
            {
              begin: "^ok"
            },
            {
              begin: "^not ok"
            }
          ]
        }
      ]
    };
  }
  e(i, "tap");
  n.exports = i;
});

export {
  t as a
};
