Skip to content

Commit

Permalink
test: update integration_test.rs, qtype=any test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ephyy committed Dec 18, 2023
1 parent e983c4a commit 5e8fc09
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ async fn query_a_type() {

/// 6.2.2 Query normal Qtype = *
#[tokio::test]
#[should_panic]
async fn query_all_type() {
let __response = query_response("example.com", "TCP", "ANY").await;
let udp_response = query_response("example.com", "UDP", "ANY").await;
let tcp_response = query_response("example.com", "TCP", "ANY").await;
assert!(udp_response.is_err());
assert!(tcp_response.is_err());
}

/// 6.2.3 Query Qtype = MX
Expand Down

0 comments on commit 5e8fc09

Please sign in to comment.