mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revise the example on OpenBSD
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8ed1709616
commit
c3e0244efe
1 changed files with 7 additions and 6 deletions
|
@ -24,12 +24,13 @@ describe "File.birthtime" do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: fix it.
|
platform_is :openbsd do
|
||||||
#platform_is :linux, :openbsd do
|
it "raises an NotImplementedError" do
|
||||||
# it "raises an NotImplementedError" do
|
lambda { File.birthtime(@file) }.should raise_error(NotImplementedError)
|
||||||
# lambda { File.birthtime(@file) }.should raise_error(NotImplementedError)
|
end
|
||||||
# end
|
end
|
||||||
#end
|
|
||||||
|
# TODO: depends on Linux kernel version
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "File#birthtime" do
|
describe "File#birthtime" do
|
||||||
|
|
Loading…
Add table
Reference in a new issue