Skip to content

Commit

Permalink
test: fixed test due to change of help variable type #1255
Browse files Browse the repository at this point in the history
  • Loading branch information
hitenkoku committed Feb 4, 2024
1 parent 86d1f20 commit 8611001
Show file tree
Hide file tree
Showing 18 changed files with 60 additions and 60 deletions.
30 changes: 15 additions & 15 deletions src/afterfact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1986,7 +1986,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2077,7 +2077,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2318,7 +2318,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2411,7 +2411,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2638,7 +2638,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2729,7 +2729,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2967,7 +2967,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -3058,7 +3058,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -3370,7 +3370,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -3462,7 +3462,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -3711,7 +3711,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -3881,7 +3881,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -3971,7 +3971,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -4150,7 +4150,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -4240,7 +4240,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down
12 changes: 6 additions & 6 deletions src/detections/configs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2687,7 +2687,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2761,7 +2761,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2808,7 +2808,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
input_args: InputOption {
directory: None,
Expand Down Expand Up @@ -2855,7 +2855,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
input_args: InputOption {
directory: None,
Expand Down Expand Up @@ -2899,7 +2899,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
input_args: InputOption {
directory: None,
Expand Down Expand Up @@ -2946,7 +2946,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
input_args: InputOption {
directory: None,
Expand Down
10 changes: 5 additions & 5 deletions src/detections/detection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -1500,7 +1500,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -1637,7 +1637,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -1770,7 +1770,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -1916,7 +1916,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down
2 changes: 1 addition & 1 deletion src/detections/rule/condition_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down
2 changes: 1 addition & 1 deletion src/detections/rule/count.rs
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down
2 changes: 1 addition & 1 deletion src/detections/rule/matchers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down
2 changes: 1 addition & 1 deletion src/detections/rule/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down
2 changes: 1 addition & 1 deletion src/detections/rule/selectionnodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down
2 changes: 1 addition & 1 deletion src/detections/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down
22 changes: 11 additions & 11 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2189,7 +2189,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2274,7 +2274,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2357,7 +2357,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2442,7 +2442,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2505,7 +2505,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2561,7 +2561,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2615,7 +2615,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2673,7 +2673,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
detect_common_options: DetectCommonOption {
evtx_file_ext: None,
Expand Down Expand Up @@ -2730,7 +2730,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
evtx_file_ext: None,
thread_number: None,
Expand Down Expand Up @@ -2774,7 +2774,7 @@ mod tests {
common_options: CommonOptions {
no_color: false,
quiet: false,
help: false,
help: None,
},
evtx_file_ext: None,
thread_number: None,
Expand Down
Loading

0 comments on commit 8611001

Please sign in to comment.