Skip to content

Commit

Permalink
fix: test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyYe committed Mar 2, 2024
1 parent 89a3235 commit 37104cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knockd/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mod tests {
#[test]
fn test_load_config() {
let config = load_config("config.yaml").unwrap();
assert_eq!(config.interface, "enp3s0");
assert_eq!(config.interface, "eth0");
assert_eq!(config.rules.len(), 2);
}
}

0 comments on commit 37104cd

Please sign in to comment.