File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1921,11 +1921,3 @@ fn different_str_pattern_forwarding_lifetimes() {
1921
1921
1922
1922
foo :: < & str > ( "x" ) ;
1923
1923
}
1924
-
1925
- #[ test]
1926
- fn test_str_concat ( ) {
1927
- let a: String = "hello" . to_string ( ) ;
1928
- let b: String = "world" . to_string ( ) ;
1929
- let s: String = format ! ( "{}{}" , a, b) ;
1930
- assert_eq ! ( s. as_bytes( ) [ 9 ] , 'd' as u8 ) ;
1931
- }
Original file line number Diff line number Diff line change @@ -721,3 +721,11 @@ fn test_from_char() {
721
721
let s: String = 'x' . into ( ) ;
722
722
assert_eq ! ( s, 'x' . to_string( ) ) ;
723
723
}
724
+
725
+ #[ test]
726
+ fn test_str_concat ( ) {
727
+ let a: String = "hello" . to_string ( ) ;
728
+ let b: String = "world" . to_string ( ) ;
729
+ let s: String = format ! ( "{}{}" , a, b) ;
730
+ assert_eq ! ( s. as_bytes( ) [ 9 ] , 'd' as u8 ) ;
731
+ }
You can’t perform that action at this time.
0 commit comments