diff options
| author | Squirrel <gilescope@gmail.com> | 2017-06-08 18:38:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-08 18:38:49 +0100 |
| commit | de8bbd2b164f1839186ce8a5117e86902701bdfe (patch) | |
| tree | c9cee3715be9478e7d3ac3bc94187bcc3b0ed845 /src/test/run-pass/thinlto | |
| parent | ae3d3878ef831247ebb8babcd5efa345fdbb17eb (diff) | |
| download | rust-de8bbd2b164f1839186ce8a5117e86902701bdfe.tar.gz rust-de8bbd2b164f1839186ce8a5117e86902701bdfe.zip | |
Assert failure message easier to read
By having the left and right strings above and below on the same line it helps spot the difference between the two. E.g. thread 'tests::test_safe_filename' panicked at 'assertion failed: `(left == right)` left: `"-aandb--S123.html"` right: `"-aandb-S123.html"`', When the strings are both on the same line it take a lot longer to spot the difference. It is a small change but the small time savings add up with repetition. This helps Rust be an excellent language to write tests in.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
