File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/stackable-versioned/tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ impl From<String> for Gender {
8686#[ test]
8787fn pass ( ) {
8888 glob ! ( "./inputs/conversions/pass/" , "*.json" , |path| {
89- let ( request, response) = run_for_file ( path) ;
89+ let ( request, response) = convert_via_file ( path) ;
9090
9191 let formatted = serde_json:: to_string_pretty( & response)
9292 . expect( "Failed to serialize ConversionResponse" ) ;
@@ -108,7 +108,7 @@ fn pass() {
108108#[ test]
109109fn fail ( ) {
110110 glob ! ( "./inputs/conversions/fail/" , "*.json" , |path| {
111- let ( request, response) = run_for_file ( path) ;
111+ let ( request, response) = convert_via_file ( path) ;
112112
113113 let formatted = serde_json:: to_string_pretty( & response)
114114 . expect( "Failed to serialize ConversionResponse" ) ;
@@ -129,7 +129,7 @@ fn fail() {
129129 } )
130130}
131131
132- fn run_for_file ( path : & Path ) -> ( ConversionReview , ConversionReview ) {
132+ fn convert_via_file ( path : & Path ) -> ( ConversionReview , ConversionReview ) {
133133 let request: ConversionReview =
134134 serde_json:: from_reader ( File :: open ( path) . expect ( "failed to open test file" ) )
135135 . expect ( "failed to parse ConversionReview from test file" ) ;
You can’t perform that action at this time.
0 commit comments