guyben
7d165a08cf
Replace assertThat(stream.collect(toImmutableList())) with assertThat(stream)
...
In Truth8, we can do assertThat(stream) directly. It's less verbose and clearer
in most cases.
Note that for the "finishers" (e.g. "containsExactyElementsIn") - streams are
still not allowed. So when there is:
assertThat(stream.map(someTransformation).collect(toList()))
.containsExactlyElementsIn(expecteStream.map(someTransformation).collect(toList()));
I kept the .collect in the assertThat to preserve the symmetry with the
finisher.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=179697587
2017-12-27 11:32:45 -05:00
..
2017-12-27 10:42:36 -05:00
2017-12-27 10:55:03 -05:00
2017-07-12 11:03:50 -04:00
2017-12-27 10:50:20 -05:00
2017-12-27 11:25:02 -05:00
2017-12-02 11:37:46 -05:00
2017-12-27 10:50:20 -05:00
2017-11-07 17:22:56 -05:00
2017-11-07 17:22:56 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:48:42 -05:00
2017-12-27 11:25:02 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 11:23:03 -05:00
2017-11-07 17:22:56 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 11:25:02 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 11:32:45 -05:00
2017-12-01 22:14:06 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-02-02 16:27:22 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-01 22:14:06 -05:00
2017-12-27 10:50:20 -05:00
2017-12-01 22:14:06 -05:00
2017-12-27 11:23:03 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 11:25:02 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 11:25:02 -05:00
2017-12-27 11:25:02 -05:00
2017-11-07 17:22:56 -05:00
2017-12-27 11:25:02 -05:00
2017-12-27 11:25:02 -05:00
2017-10-24 16:53:47 -04:00
2017-12-27 11:25:02 -05:00
2017-12-27 11:25:02 -05:00
2017-12-27 11:25:02 -05:00
2017-12-27 11:25:02 -05:00
2017-11-07 17:22:56 -05:00
2017-12-27 11:25:02 -05:00
2017-12-01 22:14:06 -05:00
2017-09-20 10:27:17 -04:00
2017-11-07 17:22:56 -05:00
2017-09-12 15:51:50 -04:00
2017-12-01 22:14:06 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-02-02 16:27:22 -05:00
2017-12-27 11:23:03 -05:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-02-02 16:27:22 -05:00
2017-12-27 10:50:20 -05:00
2017-12-01 22:14:06 -05:00
2017-12-27 11:25:02 -05:00
2017-12-27 11:23:03 -05:00
2017-11-07 17:22:56 -05:00
2017-11-07 17:22:56 -05:00
2017-12-27 11:25:02 -05:00
2017-11-07 17:22:56 -05:00
2017-11-07 17:22:56 -05:00
2017-11-07 17:22:56 -05:00
2017-11-07 17:22:56 -05:00
2017-11-07 17:22:56 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-01 22:14:06 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-02-02 16:27:22 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-13 12:43:45 -05:00
2017-12-27 11:32:45 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 10:50:20 -05:00
2017-12-27 11:01:09 -05:00
2017-12-27 11:23:03 -05:00