Skip to content
Browse files

Fixed a private methods test.

  • Loading branch information...
1 parent e1902d6 commit e9fbe903faddcedcf829ba66de1a7132a11d0f1f @djberg96 committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test_sys_uptime.rb
View
4 test/test_sys_uptime.rb
@@ -103,7 +103,7 @@ class TC_Sys_Uptime < Test::Unit::TestCase
test "Ensure that ffi functions are private" do
methods = Uptime.methods(false).map{ |e| e.to_s }
- assert_false(Uptime.methods.include?('time'))
- assert_false(Uptime.methods.include?('times'))
+ assert_false(methods.include?('time'))
+ assert_false(methods.include?('times'))
end
end

0 comments on commit e9fbe90

Please sign in to comment.
Something went wrong with that request. Please try again.