Skip to content

Commit 0cea421

Browse files
committed
Update conformance test dependencies
Signed-off-by: Ryan Levick <[email protected]>
1 parent e9a24a8 commit 0cea421

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ redis = "0.24"
9999
runtime-tests = { path = "tests/runtime-tests" }
100100
test-components = { path = "tests/test-components" }
101101
test-codegen-macro = { path = "crates/test-codegen-macro" }
102-
test-environment = { git = "https://github.com/fermyon/conformance-tests", branch = "testing-environment" }
102+
test-environment = { git = "https://github.com/fermyon/conformance-tests" }
103103

104104
[build-dependencies]
105105
cargo-target-dep = { git = "https://github.com/fermyon/cargo-target-dep", rev = "482f269eceb7b1a7e8fc618bf8c082dd24979cf1" }

tests/conformance-tests/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ rust-version.workspace = true
1111
[dependencies]
1212
anyhow = "1.0"
1313
testing-framework = { path = "../testing-framework" }
14-
conformance-tests = { git = "https://github.com/fermyon/conformance-tests", branch = "testing-environment" }
15-
test-environment = { git = "https://github.com/fermyon/conformance-tests", branch = "testing-environment" }
14+
conformance-tests = { git = "https://github.com/fermyon/conformance-tests" }
15+
test-environment = { git = "https://github.com/fermyon/conformance-tests" }
1616

1717
[lints]
1818
workspace = true

tests/conformance-tests/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ fn main() {
2828
.send(|request| spin.make_http_request(request))
2929
.unwrap();
3030
if let Err(e) =
31-
conformance_tests::assertions::assert_response(invocation.response, actual)
31+
conformance_tests::assertions::assert_response(&invocation.response, &actual)
3232
{
3333
eprintln!("Test failed: {e}");
3434
eprintln!("stderr: {}", spin.stderr());
3535
std::process::exit(1);
3636
}
3737
}
3838
}
39+
println!("All tests passed!")
3940
}

tests/runtime-tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ anyhow = "1.0"
1313
env_logger = "0.10.0"
1414
log = "0.4"
1515
testing-framework = { path = "../testing-framework" }
16-
test-environment = { git = "https://github.com/fermyon/conformance-tests", branch = "testing-environment" }
16+
test-environment = { git = "https://github.com/fermyon/conformance-tests" }
1717
test-components = { path = "../test-components" }

tests/testing-framework/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ http-body-util = "0.1.0"
1111
log = "0.4"
1212
nix = "0.26.1"
1313
regex = "1.10.2"
14-
reqwest = "0.12"
14+
reqwest = { workspace = true }
1515
temp-dir = "0.1.11"
16-
test-environment = { git = "https://github.com/fermyon/conformance-tests", branch = "testing-environment" }
16+
test-environment = { git = "https://github.com/fermyon/conformance-tests" }
1717
spin-trigger-http = { path = "../../crates/trigger-http" }
1818
spin-http = { path = "../../crates/http" }
1919
spin-trigger = { path = "../../crates/trigger" }

0 commit comments

Comments
 (0)