diff options
| author | Richo Healey <richo@psych0tik.net> | 2014-04-15 18:17:48 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2014-04-18 17:25:34 -0700 |
| commit | 919889a1d688a6bbe2edac8705f048f06b1b455c (patch) | |
| tree | 322a69fa39bdaf37bbfffc84020acbd4c87871d0 /src/libtest/stats.rs | |
| parent | b75683cadf6c4c55360202cd6a0106be80532451 (diff) | |
| download | rust-919889a1d688a6bbe2edac8705f048f06b1b455c.tar.gz rust-919889a1d688a6bbe2edac8705f048f06b1b455c.zip | |
Replace all ~"" with "".to_owned()
Diffstat (limited to 'src/libtest/stats.rs')
| -rw-r--r-- | src/libtest/stats.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libtest/stats.rs b/src/libtest/stats.rs index 1341b8d230f..754f636618e 100644 --- a/src/libtest/stats.rs +++ b/src/libtest/stats.rs @@ -1019,9 +1019,9 @@ mod tests { assert_eq!(out, expected); } - t(&Summary::new([-2.0, -1.0]), ~"-2 |[------******#*****---]| -1"); - t(&Summary::new([0.0, 2.0]), ~"0 |[-------*****#*******---]| 2"); - t(&Summary::new([-2.0, 0.0]), ~"-2 |[------******#******---]| 0"); + t(&Summary::new([-2.0, -1.0]), "-2 |[------******#*****---]| -1".to_owned()); + t(&Summary::new([0.0, 2.0]), "0 |[-------*****#*******---]| 2".to_owned()); + t(&Summary::new([-2.0, 0.0]), "-2 |[------******#******---]| 0".to_owned()); } #[test] |
