prism/tests/languages/tap/yamlish_feature.test

62 lines
1.1 KiB
Plaintext

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\r\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