From 8792a365f1d9a987c7c6366aed40310e83ad9ad8 Mon Sep 17 00:00:00 2001 From: dariuszkuc <9501705+dariuszkuc@users.noreply.github.com> Date: Fri, 20 Oct 2023 15:12:25 -0500 Subject: [PATCH] format --- apollo-federation/tests/composition_tests.rs | 14 +++++++------- apollo-federation/tests/subgraph/mod.rs | 2 +- .../tests/subgraph/parse_expand_tests.rs | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apollo-federation/tests/composition_tests.rs b/apollo-federation/tests/composition_tests.rs index cc1fbbdc..a5180cd7 100644 --- a/apollo-federation/tests/composition_tests.rs +++ b/apollo-federation/tests/composition_tests.rs @@ -34,7 +34,7 @@ mod tests { union U = S | T "#, ) - .unwrap(); + .unwrap(); let s2 = Subgraph::parse_and_expand( "Subgraph2", "https://subgraph2", @@ -51,7 +51,7 @@ mod tests { } "#, ) - .unwrap(); + .unwrap(); let supergraph = Supergraph::compose(vec![&s1, &s2]).unwrap(); insta::assert_snapshot!(print_sdl(&supergraph.schema)); @@ -85,7 +85,7 @@ mod tests { } "#, ) - .unwrap(); + .unwrap(); let s2 = Subgraph::parse_and_expand( "Subgraph2", @@ -103,7 +103,7 @@ mod tests { } "#, ) - .unwrap(); + .unwrap(); let supergraph = Supergraph::compose(vec![&s1, &s2]).unwrap(); insta::assert_snapshot!(print_sdl(&supergraph.schema)); @@ -126,7 +126,7 @@ mod tests { } "#, ) - .unwrap(); + .unwrap(); let s2 = Subgraph::parse_and_expand( "SubgraphB", @@ -138,7 +138,7 @@ mod tests { } "#, ) - .unwrap(); + .unwrap(); let supergraph = Supergraph::compose(vec![&s1, &s2]).unwrap(); insta::assert_snapshot!(print_sdl(&supergraph.schema)); insta::assert_snapshot!(print_sdl(&supergraph.to_api_schema())); @@ -182,4 +182,4 @@ mod tests { insta::assert_snapshot!(print_sdl(&supergraph.schema)); insta::assert_snapshot!(print_sdl(&supergraph.to_api_schema())); } -} \ No newline at end of file +} diff --git a/apollo-federation/tests/subgraph/mod.rs b/apollo-federation/tests/subgraph/mod.rs index 9cdb9aee..7610f592 100644 --- a/apollo-federation/tests/subgraph/mod.rs +++ b/apollo-federation/tests/subgraph/mod.rs @@ -1 +1 @@ -mod parse_expand_tests; \ No newline at end of file +mod parse_expand_tests; diff --git a/apollo-federation/tests/subgraph/parse_expand_tests.rs b/apollo-federation/tests/subgraph/parse_expand_tests.rs index 39dddb29..2ed0d366 100644 --- a/apollo-federation/tests/subgraph/parse_expand_tests.rs +++ b/apollo-federation/tests/subgraph/parse_expand_tests.rs @@ -161,4 +161,4 @@ fn can_parse_and_expand_will_fail_when_importing_same_spec_twice() { let result = Subgraph::parse_and_expand("S1", "http://s1", schema) .expect_err("importing same specification twice should fail"); assert_eq!("invalid graphql schema - multiple @link imports for the federation specification are not supported", result.msg); -} \ No newline at end of file +}