Permalink
Browse files

Remove trailing whitespace

  • Loading branch information...
eregon committed Aug 3, 2018
1 parent 8316026 commit 9be7c7e4cd85d8db6ebc91a6448de66e68112e8a
Showing with 5 additions and 5 deletions.
  1. +1 −1 core/module/const_get_spec.rb
  2. +3 −3 language/fixtures/array.rb
  3. +1 −1 security/cve_2010_1330_spec.rb
@@ -131,7 +131,7 @@
it 'does autoload a non-toplevel module' do
Object.const_get('CSAutoloadD::InnerModule').name.should == 'CSAutoloadD::InnerModule'
end
describe "with statically assigned constants" do
it "searches the immediate class or module first" do
ConstantSpecs::ClassA.const_get(:CS_CONST10).should == :const10_10
@@ -15,11 +15,11 @@ def initialize()
end
attr_reader :call_count
def array_result(a_number)
[result(a_number), result(a_number)]
end
def result(a_number)
@call_count += 1
if a_number
@@ -28,5 +28,5 @@ def result(a_number)
:thing
end
end
end
end
end
@@ -8,7 +8,7 @@
# same - we want to check that Ruby implementations raise an error on
# #gsub on a string in the UTF-8 encoding but with invalid an UTF-8 byte
# sequence.
str = "\xF6<script>"
str.force_encoding Encoding::ASCII_8BIT
str.gsub(/</, "&lt;").should == "\xF6&lt;script>".b

0 comments on commit 9be7c7e

Please sign in to comment.