We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f49225f commit 15c9619Copy full SHA for 15c9619
core/process/clock_getres_spec.rb
@@ -37,8 +37,10 @@
37
Process.clock_getres(:TIME_BASED_CLOCK_REALTIME, :nanosecond).should == 1_000_000_000
38
end
39
40
- it "with :GETRUSAGE_BASED_CLOCK_PROCESS_CPUTIME_ID reports 1 microsecond" do
41
- Process.clock_getres(:GETRUSAGE_BASED_CLOCK_PROCESS_CPUTIME_ID, :nanosecond).should == 1_000
+ platform_is_not :windows do
+ it "with :GETRUSAGE_BASED_CLOCK_PROCESS_CPUTIME_ID reports 1 microsecond" do
42
+ Process.clock_getres(:GETRUSAGE_BASED_CLOCK_PROCESS_CPUTIME_ID, :nanosecond).should == 1_000
43
+ end
44
45
46
# These are observed
0 commit comments