Update crates

This commit is contained in:
hurl-bot 2024-04-01 03:01:58 +00:00 committed by jcamiel
parent 4532ddf235
commit 72967570a8
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
5 changed files with 11 additions and 11 deletions

4
Cargo.lock generated
View File

@ -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"

View File

@ -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
--&gt; tests_ok/test.2.hurl:8:1
|
| GET http://localhost:8000/hello
| ...
8 | `Goodbye World!`
| ^^^^^^^^^^^^^^^^ actual value is &lt;Hello World!>
| ^^^^^^^^^^^^^^^^ actual value is &lt;Hello World!&gt;
|</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>

View File

@ -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"] }

View File

@ -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 \
--&gt; -:2:10\n \
|\n \
| GET http://localhost:8000/not_found\n \
2 | HTTP/1.0 200\n \
| ^^^ actual value is &lt;404>\n \
| ^^^ actual value is &lt;404&gt;\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 --&gt; -:1:5\n |\n 1 | GET http://localhost:8000/not_found\n | ^^^^^^^^^^^^^^ (6) Could not resolve host: unknown\n |\
</error>\
</testcase>\
</testsuite>"

View File

@ -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
--&gt; test.hurl:2:10
|
| GET http://localhost:8000/not_found
2 | HTTP/1.0 200
| ^^^ actual value is &lt;404>
| ^^^ actual value is &lt;404&gt;
|</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
--&gt; test.hurl:1:5
|
1 | GET http://unknown
| ^^^^^^^^^^^^^^ (6) Could not resolve host: unknown