Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add read_info(!) tests.

  • Loading branch information...
commit efe27fc63c7f8da364b5cde2ad13dd9d9f48054b 1 parent ef88281
@Raynes Raynes authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 test/elixir/file_test.exs
View
9 test/elixir/file_test.exs
@@ -96,4 +96,13 @@ defmodule FileTest do
File.read!("fixtures/missing.txt")
end
end
+
+ test :read_info do
+ {:ok, info} = File.read_info("lib")
+ assert info.mtime
+ end
+
+ test :read_info! do
+ assert File.read_info!("lib").mtime
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.