use prism-tomorrow.css
This commit is contained in:
@ -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
|
@ -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
|
@ -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
|
@ -0,0 +1,13 @@
|
||||
1..10
|
||||
1..10 # directive
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["plan", "1..10" ],
|
||||
["plan", "1..10 # directive" ]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks TAP plan
|
@ -0,0 +1,13 @@
|
||||
pragma +strict
|
||||
pragma -strict
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["pragma", "pragma +strict"],
|
||||
["pragma", "pragma -strict"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks pragma
|
@ -0,0 +1,11 @@
|
||||
TAP version 13
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["version", "TAP version 13" ]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks TAP version
|
@ -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
|
Reference in New Issue
Block a user