mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			211 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			211 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #[test]
 | |
| fn assert_eq_trailing_comma() {
 | |
|     assert_eq!(1, 1,);
 | |
| }
 | |
| 
 | |
| #[test]
 | |
| fn assert_escape() {
 | |
|     assert!(r#"☃\backslash"#.contains("\\"));
 | |
| }
 | |
| 
 | |
| #[test]
 | |
| fn assert_ne_trailing_comma() {
 | |
|     assert_ne!(1, 2,);
 | |
| }
 | 
