]> git.lizzy.rs Git - rust.git/blob - library/core/tests/macros.rs
Rollup merge of #83524 - faern:document-socketaddr-mem-layout, r=sfackler
[rust.git] / library / core / tests / macros.rs
1 #[test]
2 fn assert_eq_trailing_comma() {
3     assert_eq!(1, 1,);
4 }
5
6 #[test]
7 fn assert_escape() {
8     assert!(r#"☃\backslash"#.contains("\\"));
9 }
10
11 #[test]
12 fn assert_ne_trailing_comma() {
13     assert_ne!(1, 2,);
14 }