mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 02:53:57 +02: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:
parent
5669902126
commit
1c6ff586a6
1 changed files with 1 additions and 1 deletions
|
@ -1740,7 +1740,7 @@ EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_clock_getres
|
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_kind_of(Integer, r)
|
||||||
assert_raise(Errno::EINVAL) { Process.clock_getres(:foo) }
|
assert_raise(Errno::EINVAL) { Process.clock_getres(:foo) }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue