Skip to content

Commit adc4be7

Browse files
committed
typo:
1 parent 97d0a71 commit adc4be7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/detections/configs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,9 @@ impl StoredStatic {
852852
/// detailsのdefault値をファイルから読み取る関数
853853
pub fn get_default_details(
854854
filepath: &str,
855-
disable_abbreviation: bool,
855+
disable_abbreviations: bool,
856856
) -> HashMap<CompactString, CompactString> {
857-
if disable_abbreviation {
857+
if disable_abbreviations {
858858
return HashMap::new();
859859
}
860860
let read_result = utils::read_csv(filepath);

src/detections/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ mod tests {
823823
}
824824

825825
#[test]
826-
fn _get_default_defails_with_abbreviation() {
826+
fn _get_default_details_with_abbreviation() {
827827
let expected: HashMap<CompactString, CompactString> = HashMap::new();
828828
let actual =
829829
StoredStatic::get_default_details("test_files/config/default_details.txt", true);

0 commit comments

Comments
 (0)