From c3b917c620652120dd3c23719d6941be1de4a211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 22 Apr 2019 10:24:44 +0200 Subject: [PATCH] Add missing require So that the spec can be run in isolation. --- spec/quality_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb index e303b691b0a..07bd05049a5 100644 --- a/spec/quality_spec.rb +++ b/spec/quality_spec.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "set" + if defined?(Encoding) && Encoding.default_external.name != "UTF-8" # An approximation of ruby -E UTF-8, since it works on 1.8.7 Encoding.default_external = Encoding.find("UTF-8")