summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-18 08:33:39 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-18 08:33:39 +0000
commit741b7c46b8e635f1faf373e0ac78b2f7eb8b7f9f (patch)
tree60ffac9e42a6f7247ca9a4ae9558f89fde2bb696
parent5d6ed9081ed573451ef23d4b0b1bc824c68ab772 (diff)
Fix a constant reference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/ruby/test_m17n_comb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_m17n_comb.rb b/test/ruby/test_m17n_comb.rb
index 8258f422a17..12aa4d539d6 100644
--- a/test/ruby/test_m17n_comb.rb
+++ b/test/ruby/test_m17n_comb.rb
@@ -727,7 +727,7 @@ class TestM17NComb < Test::Unit::TestCase
def test_str_crypt
strict_crypt = nil
# glibc 2.16 or later denies salt contained other than [0-9A-Za-z./] #7312
- if defined? Etc::Etc::CS_GNU_LIBC_VERSION
+ if defined? Etc::CS_GNU_LIBC_VERSION
glibcver = Etc.confstr(Etc::CS_GNU_LIBC_VERSION).scan(/\d+/).map(&:to_i)
strict_crypt = (glibcver <=> [2, 16]) >= 0
end