From 09944406ef206c7e232559bd9ae58b6910cfb885 Mon Sep 17 00:00:00 2001 From: Joscha Date: Fri, 16 Feb 2018 13:07:13 +0000 Subject: [PATCH] Reorganoze examples in test/ --- test/{bottest.hs => bot_simple_custom_logging.hs} | 2 +- test/{testbot.hs => connection_reacting_to_events.hs} | 0 test/{euphtest.hs => connection_simple.hs} | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename test/{bottest.hs => bot_simple_custom_logging.hs} (95%) rename test/{testbot.hs => connection_reacting_to_events.hs} (100%) rename test/{euphtest.hs => connection_simple.hs} (100%) diff --git a/test/bottest.hs b/test/bot_simple_custom_logging.hs similarity index 95% rename from test/bottest.hs rename to test/bot_simple_custom_logging.hs index f9227bb..83e510b 100644 --- a/test/bottest.hs +++ b/test/bot_simple_custom_logging.hs @@ -21,7 +21,7 @@ myBotConfig = E.BotConfig } main = do - myHandler <- LH.verboseStreamHandler stderr L.INFO + myHandler <- LH.verboseStreamHandler stdout L.INFO let myFormatter = LF.simpleLogFormatter "<$time> [$loggername/$prio] $msg" myFormattedHandler = LH.setFormatter myHandler myFormatter L.updateGlobalLogger L.rootLoggerName (L.setHandlers [myFormattedHandler]) diff --git a/test/testbot.hs b/test/connection_reacting_to_events.hs similarity index 100% rename from test/testbot.hs rename to test/connection_reacting_to_events.hs diff --git a/test/euphtest.hs b/test/connection_simple.hs similarity index 100% rename from test/euphtest.hs rename to test/connection_simple.hs