phino-0.0.0.22 / test / YamlSpec.hs
-- SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com-- SPDX-License-Identifier: MITmodule YamlSpec whereimport Control.Monadimport Miscimport System.FilePathimport Test.Hspec (Spec, describe, it, runIO, shouldReturn)import Yaml (yamlRule)spec :: Specspec = describe "parses yaml rule" $ do let resources = "test-resources/yaml-packs" packs <- runIO (allPathsIn resources) forM_ packs ( \pth -> it (makeRelative resources pth) $ do _ <- yamlRule pth pure () `shouldReturn` () )