summaryrefslogtreecommitdiff
path: root/pyssg.xyz/live/static/hl/languages/subunit.min.js
blob: 0b89fab82d0dd7af9d37bf6f97d2a962333bf408 (plain)
1
2
3
4
5
6
7
8
9
hljs.registerLanguage("subunit",(()=>{"use strict";return s=>({name:"SubUnit",
case_insensitive:!0,contains:[{className:"string",begin:"\\[\n(multipart)?",
end:"\\]\n"},{className:"string",
begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{
className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,
variants:[{
begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"
},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]
})})());