Permalink
Browse files

Fixing spacing

  • Loading branch information...
1 parent 154ef0f commit f4fe2a39f138dce97f5a8e2fe9e95517a309fc00 @jarl-dk jarl-dk committed Oct 3, 2012
Showing with 10 additions and 10 deletions.
  1. +5 −5 actionpack/test/template/number_helper_test.rb
  2. +5 −5 activesupport/test/number_helper_test.rb
@@ -190,11 +190,11 @@ def test_number_to_human_size_with_iec_prefix
assert_equal '3 Bytes', number_to_human_size(3.14159265, :prefix => :iec)
assert_equal '123 Bytes', number_to_human_size(123.0, :prefix => :iec)
assert_equal '123 Bytes', number_to_human_size(123, :prefix => :iec)
- assert_equal '1.21 KiB', number_to_human_size(1234, :prefix => :iec)
- assert_equal '12.1 KiB', number_to_human_size(12345, :prefix => :iec)
- assert_equal '1.18 MiB', number_to_human_size(1234567, :prefix => :iec)
- assert_equal '1.15 GiB', number_to_human_size(1234567890, :prefix => :iec)
- assert_equal '1.12 TiB', number_to_human_size(1234567890123, :prefix => :iec)
+ assert_equal '1.21 KiB', number_to_human_size(1234, :prefix => :iec)
+ assert_equal '12.1 KiB', number_to_human_size(12345, :prefix => :iec)
+ assert_equal '1.18 MiB', number_to_human_size(1234567, :prefix => :iec)
+ assert_equal '1.15 GiB', number_to_human_size(1234567890, :prefix => :iec)
+ assert_equal '1.12 TiB', number_to_human_size(1234567890123, :prefix => :iec)
end
def test_number_to_human_size_with_options_hash
@@ -222,11 +222,11 @@ def test_number_to_human_size_with_iec_prefix
assert_equal '3 Bytes', number_helper.number_to_human_size(3.14159265, :prefix => :iec)
assert_equal '123 Bytes', number_helper.number_to_human_size(123.0, :prefix => :iec)
assert_equal '123 Bytes', number_helper.number_to_human_size(123, :prefix => :iec)
- assert_equal '1.21 KiB', number_helper.number_to_human_size(1234, :prefix => :iec)
- assert_equal '12.1 KiB', number_helper.number_to_human_size(12345, :prefix => :iec)
- assert_equal '1.18 MiB', number_helper.number_to_human_size(1234567, :prefix => :iec)
- assert_equal '1.15 GiB', number_helper.number_to_human_size(1234567890, :prefix => :iec)
- assert_equal '1.12 TiB', number_helper.number_to_human_size(1234567890123, :prefix => :iec)
+ assert_equal '1.21 KiB', number_helper.number_to_human_size(1234, :prefix => :iec)
+ assert_equal '12.1 KiB', number_helper.number_to_human_size(12345, :prefix => :iec)
+ assert_equal '1.18 MiB', number_helper.number_to_human_size(1234567, :prefix => :iec)
+ assert_equal '1.15 GiB', number_helper.number_to_human_size(1234567890, :prefix => :iec)
+ assert_equal '1.12 TiB', number_helper.number_to_human_size(1234567890123, :prefix => :iec)
end
end

0 comments on commit f4fe2a3

Please sign in to comment.