1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix a typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-09-03 13:22:05 +00:00
parent 5669902126
commit 1c6ff586a6

View file

@ -1740,7 +1740,7 @@ EOS
end
def test_clock_getres
r = Process.clock_gettime(Process::CLOCK_REALTIME, :nanosecond)
r = Process.clock_getres(Process::CLOCK_REALTIME, :nanosecond)
assert_kind_of(Integer, r)
assert_raise(Errno::EINVAL) { Process.clock_getres(:foo) }
end