Correct ruby syntax highlight

Issue #1018 resolved
Former user created an issue

Github is a know user of the pygments on their backend server:

Comments (2)

  1. Tim Hatch

    The problem starts around line 189, looks like the first right curly brace closes the string interpolation too soon.

      failure_message_when_negated do
        if @updated.any?
          "Expected index `#{type_name}` not to be updated, but it was with #{
   { |documents| documents[:_id] }.map do |id, documents|
              "\n  document id `#{id}` (#{documents.count} times)"
  2. Log in to comment