Skip to content

Commit

Permalink
Add guard for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Feb 26, 2024
1 parent 637f41c commit 3a510bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/file/lutime_spec.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
require_relative '../../spec_helper'
require_relative 'shared/update_time'

describe "File.lutime" do
it_behaves_like :update_time, :lutime
end
platform_is_not :windows do
describe "File.lutime" do
it_behaves_like :update_time, :lutime
end

describe "File.lutime" do
platform_is_not :windows do
describe "File.lutime" do
before :each do
@atime = Time.utc(2000)
@mtime = Time.utc(2001)
Expand Down

0 comments on commit 3a510bb

Please sign in to comment.