File: YesodStaticTest.hs

package info (click to toggle)
haskell-yesod-static 1.6.1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 204 kB
  • sloc: haskell: 1,381; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
module YesodStaticTest (specs) where

import Test.Hspec

import Yesod.Static (getFileListPieces)

specs :: Spec
specs = do
    describe "get file list" $ do
      it "pieces" $ do
        getFileListPieces "test/fs" `shouldReturn` [["foo"], ["bar", "baz"]]