diff options
| author | Urgau <urgau@numericable.fr> | 2023-05-01 14:16:38 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2023-10-13 13:51:03 +0200 |
| commit | fc78d789887047e128a36bd6e8294e15e57f50a0 (patch) | |
| tree | 03ca0fbcc78b48a61bd8d45b4e696340a87948bf /tests/rustdoc-ui/doctest/check-cfg-test.rs | |
| parent | e5e95eba457b17a1f8005403fa0287e1cd8d82f3 (diff) | |
| download | rust-fc78d789887047e128a36bd6e8294e15e57f50a0.tar.gz rust-fc78d789887047e128a36bd6e8294e15e57f50a0.zip | |
MCP636: Adapt check-cfg tests to the new syntax
Diffstat (limited to 'tests/rustdoc-ui/doctest/check-cfg-test.rs')
| -rw-r--r-- | tests/rustdoc-ui/doctest/check-cfg-test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-ui/doctest/check-cfg-test.rs b/tests/rustdoc-ui/doctest/check-cfg-test.rs index 49a801c3fb3..38cd59aa790 100644 --- a/tests/rustdoc-ui/doctest/check-cfg-test.rs +++ b/tests/rustdoc-ui/doctest/check-cfg-test.rs @@ -1,5 +1,5 @@ // check-pass -// compile-flags: --test --nocapture --check-cfg=values(feature,"test") -Z unstable-options +// compile-flags: --test --nocapture --check-cfg=cfg(feature,values("test")) -Z unstable-options // normalize-stderr-test: "tests/rustdoc-ui/doctest" -> "$$DIR" // normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR" // normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" |
