diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:41:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:41:35 +0000 |
commit | 7e5d7eea9c580ef4b41a765bde624af431942b96 (patch) | |
tree | 2c0d9ca12878fc4525650aa4e54d77a81a07cc09 /vendor/os_info/tests | |
parent | Adding debian version 1.70.0+dfsg1-9. (diff) | |
download | rustc-7e5d7eea9c580ef4b41a765bde624af431942b96.tar.xz rustc-7e5d7eea9c580ef4b41a765bde624af431942b96.zip |
Merging upstream version 1.70.0+dfsg2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/os_info/tests')
-rw-r--r-- | vendor/os_info/tests/basic.rs | 4 | ||||
-rw-r--r-- | vendor/os_info/tests/md_doc.rs | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/vendor/os_info/tests/basic.rs b/vendor/os_info/tests/basic.rs new file mode 100644 index 000000000..c48565fce --- /dev/null +++ b/vendor/os_info/tests/basic.rs @@ -0,0 +1,4 @@ +#[test] +fn get() { + let _ = os_info::get(); +} diff --git a/vendor/os_info/tests/md_doc.rs b/vendor/os_info/tests/md_doc.rs new file mode 100644 index 000000000..73473247b --- /dev/null +++ b/vendor/os_info/tests/md_doc.rs @@ -0,0 +1,3 @@ +// spell-checker:ignore doctest + +doc_comment::doctest!("../README.md"); |