summaryrefslogtreecommitdiff
path: root/spec/ruby/core/file/lutime_spec.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2024-02-26 14:45:30 +0100
committerBenoit Daloze <eregontp@gmail.com>2024-02-26 14:45:30 +0100
commit815db5c0289f5bbea2af275933ba6a4bf60a6967 (patch)
treedb319dbcc035e4248ee25c47916c6e0c1171164b /spec/ruby/core/file/lutime_spec.rb
parent40c9a3dad5bc18213eb9b5ad21aa00580c12c77b (diff)
Update to ruby/spec@3a510bb
Diffstat (limited to 'spec/ruby/core/file/lutime_spec.rb')
-rw-r--r--spec/ruby/core/file/lutime_spec.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/spec/ruby/core/file/lutime_spec.rb b/spec/ruby/core/file/lutime_spec.rb
index 1f0625f61e..0f6df42ea3 100644
--- a/spec/ruby/core/file/lutime_spec.rb
+++ b/spec/ruby/core/file/lutime_spec.rb
@@ -1,7 +1,12 @@
require_relative '../../spec_helper'
+require_relative 'shared/update_time'
-describe "File.lutime" do
- platform_is_not :windows do
+platform_is_not :windows do
+ describe "File.lutime" do
+ it_behaves_like :update_time, :lutime
+ end
+
+ describe "File.lutime" do
before :each do
@atime = Time.utc(2000)
@mtime = Time.utc(2001)