Browse Source

add missing modules to cabal file and fix tests

(##92)
master
Philipp Balzarek 10 years ago
parent
commit
141bcca679
  1. 2
      pontarius-xmpp.cabal
  2. 2
      tests/Run/SendReceive.hs

2
pontarius-xmpp.cabal

@ -154,6 +154,8 @@ Test-Suite tests
Other-modules: Tests.Arbitrary Other-modules: Tests.Arbitrary
, Tests.Arbitrary.Xml , Tests.Arbitrary.Xml
, Tests.Arbitrary.Xmpp , Tests.Arbitrary.Xmpp
, Tests.Parsers
, Tests.Picklers
ghc-options: -Wall -O2 -fno-warn-orphans ghc-options: -Wall -O2 -fno-warn-orphans
Test-Suite doctest Test-Suite doctest

2
tests/Run/SendReceive.hs

@ -60,7 +60,7 @@ run = void $ do
Nothing -> UseRealm Nothing -> UseRealm
Just srv -> case port of Just srv -> case port of
Nothing -> UseSrv srv Nothing -> UseSrv srv
Just p -> UseHost srv (PortNumber $ fromIntegral p) Just p -> UseHost srv (fromIntegral p)
_ <- configuredLoglevel conf _ <- configuredLoglevel conf
mbSess1 <- session realm (simpleAuth uname1 pwd1) mbSess1 <- session realm (simpleAuth uname1 pwd1)
((xmppConfig conDetails)) ((xmppConfig conDetails))

Loading…
Cancel
Save