Fixed warnings in some tests.

This commit is contained in:
Revertron
2025-10-27 01:37:38 +01:00
parent 81f5568957
commit d3cdf6ea76
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -251,7 +251,7 @@ mod tests {
let mut resolver = context.create_resolver(Arc::clone(&context));
// First verify that we get a match back
// First, verify that we get a match back
{
let res = match resolver.resolve("google.com", QueryType::A, true) {
Ok(x) => x,
@@ -268,7 +268,7 @@ mod tests {
}
};
// Do the same lookup again, and verify that it's present in the cache
// Do the same lookup again and verify that it's present in the cache
// and that the counter has been updated
{
let res = match resolver.resolve("google.com", QueryType::A, true) {