Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90432a4

Browse files
committed
tests: fix test compilation
1 parent 1e1f897 commit 90432a4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/XFTPClient.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,17 @@ cfgFS (AFSType fs) = case fs of
4242
SFSMemory -> AXFTPSrvCfg testXFTPServerConfig
4343
#if defined(dbServerPostgres)
4444
SFSPostgres -> AXFTPSrvCfg testXFTPServerConfig {serverStoreCfg = XSCDatabase testXFTPPostgresCfg}
45+
#else
46+
SFSPostgres -> error "no postgres support"
4547
#endif
4648

4749
cfgFS2 :: AFStoreType -> AXFTPServerConfig
4850
cfgFS2 (AFSType fs) = case fs of
4951
SFSMemory -> AXFTPSrvCfg testXFTPServerConfig2
5052
#if defined(dbServerPostgres)
5153
SFSPostgres -> AXFTPSrvCfg testXFTPServerConfig2 {serverStoreCfg = XSCDatabase testXFTPPostgresCfg}
54+
#else
55+
SFSPostgres -> error "no postgres support"
5256
#endif
5357

5458
withXFTPServerConfigOn :: HasCallStack => AXFTPServerConfig -> (HasCallStack => ThreadId -> IO a) -> IO a

0 commit comments

Comments
 (0)