diff options
author | Paul Schoenfelder <paulschoenfelder@gmail.com> | 2013-12-08 01:04:00 -0600 |
---|---|---|
committer | Paul Schoenfelder <paulschoenfelder@gmail.com> | 2013-12-08 01:04:00 -0600 |
commit | 97f8824bfd51f7c58fc12e9fbaffdfc687ef9998 (patch) | |
tree | ad85a15d89edbc1938b2b9f7458569843f515e64 /test | |
parent | Hide properties of ClientState to consumers of API (diff) |
Invoke doctest in utils tests
Diffstat (limited to 'test')
-rw-r--r-- | test/utils_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/utils_test.exs b/test/utils_test.exs index 6af5c25..e867a62 100644 --- a/test/utils_test.exs +++ b/test/utils_test.exs @@ -7,6 +7,8 @@ defmodule ExIrc.UtilsTest do alias ExIrc.Client.IrcMessage, as: IrcMessage alias ExIrc.Client.ClientState, as: ClientState + doctest ExIrc.Utils + test "Given a local date/time as a tuple, can retrieve get the CTCP formatted time" do local_time = {{2013,12,6},{14,5,00}} # Mimics output of :calendar.local_time() assert Utils.ctcp_time(local_time) == 'Fri Dec 06 14:05:00 2013' |