aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_pathname.rb
diff options
context:
space:
mode:
authorMarkus Reiter2016-09-21 09:22:21 +0200
committerMarkus Reiter2016-09-23 15:30:06 +0200
commit9ce3c8d8a4059be6187dfcfd3daddfa7ef48c656 (patch)
treec73cab4c22f60b7db167c53b41289a0b2b4f9ce1 /Library/Homebrew/test/test_pathname.rb
parent23dacc752529bcba88248899cd5b67a66499dc40 (diff)
downloadbrew-9ce3c8d8a4059be6187dfcfd3daddfa7ef48c656.tar.bz2
Fix Style/NumericLiterals.
Diffstat (limited to 'Library/Homebrew/test/test_pathname.rb')
-rw-r--r--Library/Homebrew/test/test_pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_pathname.rb b/Library/Homebrew/test/test_pathname.rb
index 0cd2876d0..492c09c67 100644
--- a/Library/Homebrew/test/test_pathname.rb
+++ b/Library/Homebrew/test/test_pathname.rb
@@ -26,7 +26,7 @@ class PathnameTests < Homebrew::TestCase
mkdir_p @dir/"a-directory"
touch @dir/".DS_Store"
touch @dir/"a-file"
- File.truncate(@dir/"a-file", 1048576)
+ File.truncate(@dir/"a-file", 1_048_576)
ln_s @dir/"a-file", @dir/"a-symlink"
ln @dir/"a-file", @dir/"a-hardlink"
assert_equal 3, @dir.file_count