Skip to content
Browse files

polishing

  • Loading branch information...
1 parent 6a0479e commit 62812ef93693da83d1825fd6654a372e78b42024 @pniederw committed Apr 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/scala/org/expecty/ExpressionRenderer.scala
View
4 src/main/scala/org/expecty/ExpressionRenderer.scala
@@ -33,8 +33,8 @@ class ExpressionRenderer(showTypes: Boolean) {
private[this] def filterAndSortByAnchor(recordedValues: List[RecordedValue]): Traversable[RecordedValue] = {
var map = TreeMap[Int, RecordedValue]()(Ordering.by(-_))
- // values stemming from compiler generated code have the same anchor as regular values,
- // and apparently tend to get recorded before them; let's filter them out
+ // values stemming from compiler generated code often have the same anchor as regular values
+ // and get recorded before them; let's filter them out
for (value <- recordedValues) if (!map.contains(value.anchor)) map += (value.anchor -> value)
map.values
}

0 comments on commit 62812ef

Please sign in to comment.
Something went wrong with that request. Please try again.