diff --git a/tests/lib.rs b/tests/lib.rs
index e217ea0..00e48dd 100644
--- a/tests/lib.rs
+++ b/tests/lib.rs
@@ -1,8 +1,8 @@
+#![expect(missing_docs)]
 // Copyright (c) 2020 Google LLC All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-#![deny(missing_docs)]
 use {
     crate::{test_error, Json5Format},
     json5format::*,