Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
biezhihua committed Feb 2, 2024
1 parent eb2cea4 commit 4dbc7a4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion soda_resource_tools_lib/src/soda/meta/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ pub(crate) fn tokens(meta_context: &mut MetaContext) -> Option<Token> {
} else {
strong_match_token::build_mt_dir_tokens(&meta_context.input, &mut before_token)
}
}
}
2 changes: 1 addition & 1 deletion soda_resource_tools_lib/src/soda/transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ mod transfer_tests {
}
}
}

#[test]
fn test_generate_transfer_path() {
init_tracing();
Expand Down
11 changes: 10 additions & 1 deletion soda_resource_tools_lib/tests/config_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,16 @@ mod config_tests {
combined_json["mt_strong_match_name_map"] = value;
}

let mut bin_out_file = File::create(current_path.parent().unwrap().parent().unwrap().join("soda_cl").join("soda_config_rule.json")).unwrap();
let mut bin_out_file = File::create(
current_path
.parent()
.unwrap()
.parent()
.unwrap()
.join("soda_cl")
.join("soda_config_rule.json"),
)
.unwrap();

let combined_str = serde_json::to_string(&combined_json).unwrap();

Expand Down

0 comments on commit 4dbc7a4

Please sign in to comment.