Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TilakMaddy committed Oct 18, 2024
1 parent 7018b68 commit 21fe970
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aderyn_core/src/detect/low/block_timestamp_deadline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl IssueDetector for BlockTimestampDeadlineDetector {
mod block_timestamp_deadline_detector_tests {
use serial_test::serial;

use crate::detect::{detector::IssueDetector, high::BlockTimestampDeadlineDetector};
use crate::detect::{detector::IssueDetector, low::BlockTimestampDeadlineDetector};

#[test]
#[serial]
Expand All @@ -137,7 +137,7 @@ mod block_timestamp_deadline_detector_tests {
// assert that the number of instances found is correct
assert_eq!(detector.instances().len(), 9);
// assert that the severity is High
assert_eq!(detector.severity(), crate::detect::detector::IssueSeverity::High);
assert_eq!(detector.severity(), crate::detect::detector::IssueSeverity::Low);
// assert that the title is correct
assert_eq!(
detector.title(),
Expand Down Expand Up @@ -167,7 +167,7 @@ mod block_timestamp_deadline_detector_tests {
// assert that the number of instances found is correct
assert_eq!(detector.instances().len(), 8);
// assert that the severity is High
assert_eq!(detector.severity(), crate::detect::detector::IssueSeverity::High);
assert_eq!(detector.severity(), crate::detect::detector::IssueSeverity::Low);
// assert that the title is correct
assert_eq!(
detector.title(),
Expand Down

0 comments on commit 21fe970

Please sign in to comment.