Skip to content

Commit

Permalink
add back report()
Browse files Browse the repository at this point in the history
  • Loading branch information
paf31 committed Feb 27, 2024
1 parent d0920e5 commit 7f79c78
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rust-connector-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ path = "bin/main.rs"

[dependencies]
gdc_rust_types = { git = "https://github.com/hasura/gdc_rust_types.git", rev = "3273434" }
ndc-client = { git = "http://github.com/hasura/ndc-spec.git", rev = "0a7052750b705863419feadf2c80bd9a38a64923" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", rev = "0a7052750b705863419feadf2c80bd9a38a64923" }
ndc-client = { git = "http://github.com/hasura/ndc-spec.git", rev = "d8f6160b577820db5adaa987c6c70587dd463c47" }
ndc-test = { git = "http://github.com/hasura/ndc-spec.git", rev = "d8f6160b577820db5adaa987c6c70587dd463c47" }

async-trait = "^0.1.74"
axum = "^0.6.20"
Expand Down
8 changes: 4 additions & 4 deletions rust-connector-sdk/src/default_main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,8 @@ async fn test<Setup: ConnectorSetup>(
ndc_test::test_connector(&test_configuration, &connector, &mut reporter).await;

if !reporter.1.failures.is_empty() {
// println!();
// println!("{}", report(reporter.1));
println!();
println!("{}", reporter.1.report());

exit(1)
}
Expand All @@ -564,8 +564,8 @@ async fn replay<Setup: ConnectorSetup>(
ndc_test::test_snapshots_in_directory(&connector, &mut reporter, command.snapshots_dir).await;

if !reporter.1.failures.is_empty() {
// println!();
// println!("{}", report(reporter.1));
println!();
println!("{}", reporter.1.report());

exit(1)
}
Expand Down

0 comments on commit 7f79c78

Please sign in to comment.