]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/clean/cfg/tests.rs
Rollup merge of #81917 - rust-lang:relnotes-1.51.0, r=Mark-Simulacrum
[rust.git] / src / librustdoc / clean / cfg / tests.rs
index 3a78269f19af0a5a59ad71953c4f45a7927330fe..34b9cbcb6793ab608539ae722ddd8bd7de5dcbd1 100644 (file)
@@ -367,6 +367,10 @@ fn test_render_long_html() {
             name_value_cfg("target_os", "macos").render_long_html(),
             "This is supported on <strong>macOS</strong> only."
         );
+        assert_eq!(
+            name_value_cfg("target_os", "wasi").render_long_html(),
+            "This is supported on <strong>WASI</strong> only."
+        );
         assert_eq!(
             name_value_cfg("target_pointer_width", "16").render_long_html(),
             "This is supported on <strong>16-bit</strong> only."