summaryrefslogtreecommitdiff
path: root/test/spec_builder.rb
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2022-12-02 21:38:21 -0800
committerGitHub <noreply@github.com>2022-12-03 18:38:21 +1300
commit1fc01e1443e6dc14ba14720df4c774f89d706b5a (patch)
tree05ba7da246e5f1e01bcbdac3488f5577a29dffef /test/spec_builder.rb
parentcd5311bd80f76684e6c6ba118c83cb220ce3174a (diff)
downloadrack-1fc01e1443e6dc14ba14720df4c774f89d706b5a.tar.gz
Trim trailing white space throughout the project (#1990)
Many editors clean up trailing white space on save. By removing it all in one go, it helps keep future diffs cleaner and eases new contributions by avoiding spurious white space changes on unrelated lines.
Diffstat (limited to 'test/spec_builder.rb')
-rw-r--r--test/spec_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spec_builder.rb b/test/spec_builder.rb
index 6ca28477..2cc7732c 100644
--- a/test/spec_builder.rb
+++ b/test/spec_builder.rb
@@ -277,7 +277,7 @@ describe Rack::Builder do
it "strips leading unicode byte order mark when present" do
enc = Encoding.default_external
begin
- verbose, $VERBOSE = $VERBOSE, nil
+ verbose, $VERBOSE = $VERBOSE, nil
Encoding.default_external = 'UTF-8'
app, _ = Rack::Builder.parse_file config_file('bom.ru')
Rack::MockRequest.new(app).get("/").body.to_s.must_equal 'OK'