30 31 32 33 34 35 36 37 38 39
# File 'lib/vex/base/filesystem/lock.rb', line 30 def test_lock i = 1 File.locked TESTFILE do File.locked TESTFILE do i = 2 end end assert_equal(2, i) end