mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 00:44:55 +03:00
Update crates
This commit is contained in:
parent
4532ddf235
commit
72967570a8
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -1355,9 +1355,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "xml-rs"
|
||||
version = "0.8.19"
|
||||
version = "0.8.20"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0fcb9cbac069e033553e8bb871be2fbdffcab578eb25bd0f7c508cedc6dcd75a"
|
||||
checksum = "791978798f0597cfc70478424c2b4fdc2b7a8024aaff78497ef00f24ef674193"
|
||||
|
||||
[[package]]
|
||||
name = "zerocopy"
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite tests="2" errors="0" failures="1"><testcase id="tests_ok/test.1.hurl" name="tests_ok/test.1.hurl" time="~~~" /><testcase id="tests_ok/test.2.hurl" name="tests_ok/test.2.hurl" time="~~~"><failure>Assert body value
|
||||
--> tests_ok/test.2.hurl:8:1
|
||||
--> tests_ok/test.2.hurl:8:1
|
||||
|
|
||||
| GET http://localhost:8000/hello
|
||||
| ...
|
||||
8 | `Goodbye World!`
|
||||
| ^^^^^^^^^^^^^^^^ actual value is <Hello World!>
|
||||
| ^^^^^^^^^^^^^^^^ actual value is <Hello World!>
|
||||
|</failure></testcase></testsuite><testsuite tests="1" errors="0" failures="0"><testcase id="tests_ok/test.3.hurl" name="tests_ok/test.3.hurl" time="~~~" /></testsuite></testsuites>
|
@ -39,7 +39,7 @@ serde = "1.0.197"
|
||||
serde_json = { version = "1.0.115", features = ["arbitrary_precision"] }
|
||||
sha2 = "0.10.8"
|
||||
url = "2.5.0"
|
||||
xml-rs = { version = "0.8.19" }
|
||||
xml-rs = { version = "0.8.20" }
|
||||
lazy_static = "1.4.0"
|
||||
# uuid features: lets you generate random UUIDs and use a faster (but still sufficiently random) RNG
|
||||
uuid = { version = "1.8.0", features = ["v4" , "fast-rng"] }
|
||||
|
@ -211,16 +211,16 @@ mod tests {
|
||||
<testcase id=\"-\" name=\"-\" time=\"0.230\" />\
|
||||
<testcase id=\"-\" name=\"-\" time=\"0.230\">\
|
||||
<failure>Assert status code\n \
|
||||
--> -:2:10\n \
|
||||
--> -:2:10\n \
|
||||
|\n \
|
||||
| GET http://localhost:8000/not_found\n \
|
||||
2 | HTTP/1.0 200\n \
|
||||
| ^^^ actual value is <404>\n \
|
||||
| ^^^ actual value is <404>\n \
|
||||
|\
|
||||
</failure>\
|
||||
</testcase>\
|
||||
<testcase id=\"-\" name=\"-\" time=\"0.230\">\
|
||||
<error>HTTP connection\n --> -:1:5\n |\n 1 | GET http://localhost:8000/not_found\n | ^^^^^^^^^^^^^^ (6) Could not resolve host: unknown\n |\
|
||||
<error>HTTP connection\n --> -:1:5\n |\n 1 | GET http://localhost:8000/not_found\n | ^^^^^^^^^^^^^^ (6) Could not resolve host: unknown\n |\
|
||||
</error>\
|
||||
</testcase>\
|
||||
</testsuite>"
|
||||
|
@ -144,11 +144,11 @@ HTTP/1.0 200
|
||||
assert_eq!(
|
||||
doc.to_string().unwrap(),
|
||||
r#"<?xml version="1.0" encoding="utf-8"?><testcase id="test.hurl" name="test.hurl" time="0.230"><failure>Assert status code
|
||||
--> test.hurl:2:10
|
||||
--> test.hurl:2:10
|
||||
|
|
||||
| GET http://localhost:8000/not_found
|
||||
2 | HTTP/1.0 200
|
||||
| ^^^ actual value is <404>
|
||||
| ^^^ actual value is <404>
|
||||
|</failure></testcase>"#
|
||||
);
|
||||
}
|
||||
@ -182,7 +182,7 @@ HTTP/1.0 200
|
||||
assert_eq!(
|
||||
doc.to_string().unwrap(),
|
||||
r#"<?xml version="1.0" encoding="utf-8"?><testcase id="test.hurl" name="test.hurl" time="0.230"><error>HTTP connection
|
||||
--> test.hurl:1:5
|
||||
--> test.hurl:1:5
|
||||
|
|
||||
1 | GET http://unknown
|
||||
| ^^^^^^^^^^^^^^ (6) Could not resolve host: unknown
|
||||
|
Loading…
Reference in New Issue
Block a user