diff --git a/toolchains/solidity/core/crates/tests-positions-server/src/get_tests_positions.rs b/toolchains/solidity/core/crates/tests-positions-server/src/get_tests_positions.rs index 6046307e..652934e5 100644 --- a/toolchains/solidity/core/crates/tests-positions-server/src/get_tests_positions.rs +++ b/toolchains/solidity/core/crates/tests-positions-server/src/get_tests_positions.rs @@ -30,4 +30,4 @@ impl Request for GetTestsPositionsRequest { type Params = GetTestsPositionsParams; type Result = GetTestsPositionsResponse; const METHOD: &'static str = "osmium/getTestsPositions"; -} \ No newline at end of file +} diff --git a/toolchains/solidity/core/crates/tests-positions-server/src/main.rs b/toolchains/solidity/core/crates/tests-positions-server/src/main.rs index 0b044795..a262db9d 100644 --- a/toolchains/solidity/core/crates/tests-positions-server/src/main.rs +++ b/toolchains/solidity/core/crates/tests-positions-server/src/main.rs @@ -1,4 +1,4 @@ -use get_tests_positions::{GetTestsPositionsParams, GetTestsPositionsResponse, TestContract, Test}; +use get_tests_positions::{GetTestsPositionsParams, GetTestsPositionsResponse, Test, TestContract}; use osmium_libs_solidity_ast_extractor::retriever::retrieve_functions_nodes; use osmium_libs_solidity_ast_extractor::File; use osmium_libs_solidity_ast_extractor::{ @@ -71,12 +71,10 @@ impl Backend { Some(name) => name, None => continue, }; - tests.push( - Test { - name: name.as_string(), - range: range_from_spanned(name), - } - ); + tests.push(Test { + name: name.as_string(), + range: range_from_spanned(name), + }); } res.push(TestContract { name: contract.name.as_string(),