mirror of
https://github.com/flutter/flutter.git
synced 2026-01-09 07:51:35 +08:00
The diagnostics string builder responsible for building diagnostics messages can sometimes wrap lines that are too long. This caused the expectation for the 'flutter error messages include a DevTools links' to sometimes be incorrect when run on systems where the absolute file path of the file referenced in the diagnostic was too long. This change updates the test expectation to allow for both wrapping and non-wrapping scenarios to be accepted. Fixes https://github.com/flutter/flutter/issues/174502