mirror of
https://github.com/serokell/xrefcheck.git
synced 2024-10-26 23:43:41 +03:00
b412781020
Problem: `hspec` and `tasty` are testing frameworks with almost same functionality, for historical reasons in xrefcheck we used different frameworks for tests and links-tests, and in Serokell we prefer `tasty` now. Solution: use only `tasty`, rewrite code that use `hspec` using correspondance between - `testGroup` and `describe` - `testCase` and `it` - `shouldBe` and `@?=`
16 lines
235 B
Haskell
16 lines
235 B
Haskell
-- SPDX-FileCopyrightText: 2022 Serokell <https://serokell.io>
|
|
--
|
|
-- SPDX-License-Identifier: MPL-2.0
|
|
|
|
module Main
|
|
( main
|
|
) where
|
|
|
|
import Universum
|
|
|
|
import Test.Tasty
|
|
import Tree (tests)
|
|
|
|
main :: IO ()
|
|
main = tests >>= defaultMain
|