File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,5 +39,5 @@ fn main() {
3939fn find_lld_version_in_logs ( output : & Output ) -> bool {
4040 let lld_version_re = Regex :: new ( r"^LLD [0-9]+\.[0-9]+\.[0-9]+" ) . unwrap ( ) ;
4141 let stderr = std:: str:: from_utf8 ( & output. stderr ) . unwrap ( ) ;
42- stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line) )
42+ stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line. trim ( ) ) )
4343}
Original file line number Diff line number Diff line change @@ -47,5 +47,5 @@ fn main() {
4747fn find_lld_version_in_logs ( output : & Output ) -> bool {
4848 let lld_version_re = Regex :: new ( r"^LLD [0-9]+\.[0-9]+\.[0-9]+" ) . unwrap ( ) ;
4949 let stderr = std:: str:: from_utf8 ( & output. stderr ) . unwrap ( ) ;
50- stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line) )
50+ stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line. trim ( ) ) )
5151}
Original file line number Diff line number Diff line change @@ -61,5 +61,5 @@ fn main() {
6161fn find_lld_version_in_logs ( output : & Output ) -> bool {
6262 let lld_version_re = Regex :: new ( r"^LLD [0-9]+\.[0-9]+\.[0-9]+" ) . unwrap ( ) ;
6363 let stderr = std:: str:: from_utf8 ( & output. stderr ) . unwrap ( ) ;
64- stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line) )
64+ stderr. lines ( ) . any ( |line| lld_version_re. is_match ( line. trim ( ) ) )
6565}
You can’t perform that action at this time.
0 commit comments