   for i in [0...1] by 1
     do ->
       seed = now + i
-      seed = 1458149718164
       fit "updates the displayed text correctly when the underlying buffer changes: #{seed}", ->
         random = new Random(seed)
         buffer = new TextBuffer(text: buildRandomLines(random, 10))

          expectedDisplayLayer = buffer.addDisplayLayer({foldsMarkerLayer: displayLayer.foldsMarkerLayer.copy(), tabLength: 4, invisibles, showIndentGuides, softWrapColumn})
          expect(JSON.stringify(displayLayer.getText())).toBe(JSON.stringify(expectedDisplayLayer.getText()))

          verifyPositionTranslations(displayLayer, expectedDisplayLayer)
          verifyTokens(displayLayer)
          verifyRightmostScreenPosition(displayLayer)
          verifyScreenLineIds(displayLayer, screenLinesById)


    lineBufferStart = traverse(lineBufferStart, screenLine.bufferExtent)
    lineScreenStart = traverse(lineScreenStart, Point(1, 0))

verifyRightmostScreenPosition = (displayLayer) ->
  screenLines = displayLayer.getText().split('\n')
