use prism-tomorrow.css

This commit is contained in:
CyC2018
2018-12-19 14:09:39 +08:00
parent 0f00bcacaf
commit e9e604e6a7
1747 changed files with 100462 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Bail out! Couldn't connect to database.
bail out! Failed to call API.
----------------------------------------------------
[
["bailout", "Bail out! Couldn't connect to database."],
["bailout", "bail out! Failed to call API."]
]
----------------------------------------------------
Checks bail out

View File

@ -0,0 +1,15 @@
ok # SKIP test not written
ok 42 this is the description # TODO write test
----------------------------------------------------
[
["pass", "ok " ],
["directive", "# SKIP test not written"],
["pass", "ok 42 this is the description "],
["directive", "# TODO write test"]
]
----------------------------------------------------
Checks directives

View File

@ -0,0 +1,17 @@
not ok
not ok 42 this is the description of the test
ok
ok 42 this is the description of the test
----------------------------------------------------
[
["fail", "not ok" ],
["fail", "not ok 42 this is the description of the test"],
["pass", "ok" ],
["pass", "ok 42 this is the description of the test"]
]
----------------------------------------------------
Checks test pass & fail together correctly

View File

@ -0,0 +1,13 @@
1..10
1..10 # directive
----------------------------------------------------
[
["plan", "1..10" ],
["plan", "1..10 # directive" ]
]
----------------------------------------------------
Checks TAP plan

View File

@ -0,0 +1,13 @@
pragma +strict
pragma -strict
----------------------------------------------------
[
["pragma", "pragma +strict"],
["pragma", "pragma -strict"]
]
----------------------------------------------------
Checks pragma

View File

@ -0,0 +1,11 @@
TAP version 13
----------------------------------------------------
[
["version", "TAP version 13" ]
]
----------------------------------------------------
Checks TAP version

View File

@ -0,0 +1,50 @@
ok
---
message: "Failed with error 'hostname peebles.example.com not found'"
severity: fail
data:
got:
hostname: 'peebles.example.com'
address: ~
expected:
hostname: 'peebles.example.com'
address: '85.193.201.85'
...
----------------------------------------------------
[
["pass", "ok"],
["yamlish", [
["punctuation", "---"],
["key", "message"],
["punctuation", ":"],
["string", "\"Failed with error 'hostname peebles.example.com not found'\""],
["key", "severity"],
["punctuation", ":"],
" fail\n ",
["key", "data"],
["punctuation", ":"],
["key", "got"],
["punctuation", ":"],
["key", "hostname"],
["punctuation", ":"],
["string", "'peebles.example.com'"],
["key", "address"],
["punctuation", ":"],
["null", "~"],
["key", "expected"],
["punctuation", ":"],
["key", "hostname"],
["punctuation", ":"],
["string", "'peebles.example.com'"],
["key", "address"],
["punctuation", ":"],
["string", "'85.193.201.85'"],
["punctuation", "..."]
]]
]
----------------------------------------------------
Checks yaml embedding