summaryrefslogtreecommitdiffstats
path: root/library/core/tests/lazy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/tests/lazy.rs')
-rw-r--r--library/core/tests/lazy.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/core/tests/lazy.rs b/library/core/tests/lazy.rs
index c7c3c479b..7f7f1f005 100644
--- a/library/core/tests/lazy.rs
+++ b/library/core/tests/lazy.rs
@@ -10,7 +10,7 @@ fn once_cell() {
c.get_or_init(|| 92);
assert_eq!(c.get(), Some(&92));
- c.get_or_init(|| panic!("Kabom!"));
+ c.get_or_init(|| panic!("Kaboom!"));
assert_eq!(c.get(), Some(&92));
}
@@ -46,11 +46,13 @@ fn unsync_once_cell_drop_empty() {
drop(x);
}
+/* FIXME(#110395)
#[test]
const fn once_cell_const() {
let _once_cell: OnceCell<u32> = OnceCell::new();
let _once_cell: OnceCell<u32> = OnceCell::from(32);
}
+*/
#[test]
fn clone() {