Skip to content

Commit

Permalink
test: update integration_test.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ephyy committed Jan 10, 2024
1 parent ffd818d commit 734a095
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ async fn query_a_type() {
} else {
panic!("No ip address");
}
} else {
panic!("No response")
}
}
}

/// 6.2.2 Query normal Qtype = *
Expand Down Expand Up @@ -66,9 +64,6 @@ async fn query_mx_type() {
} else {
panic!("Record is not MX type");
}

} else {
panic!("No response received")
}
}

Expand All @@ -95,9 +90,6 @@ async fn query_ns_type() {
} else {
panic!("Second record is not NS");
}

} else {
panic!("No response received")
}
}

Expand All @@ -112,6 +104,7 @@ async fn mistyped_host_name() {
#[tokio::test]
async fn no_resource_available() {
let response = query_response("example.com", "UDP", "CNAME").await;
println!("{:?}", response);
assert!(response.is_err());
}

Expand Down

0 comments on commit 734a095

Please sign in to comment.