Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/std/file_spec.cr
Original file line number Diff line number Diff line change
@@ -14,7 +14,10 @@ private def rootdir
end

private def home
ENV["HOME"]
home = ENV["HOME"]
return home if home == "/"

home.chomp('/')
end

private def it_raises_on_null_byte(operation, &block)

0 comments on commit d7de3a1

Please sign in to comment.