-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3 failing keyword tests #235
Comments
This looks like an issue with mapping |
Thanks, this works for me (using up-do/klister);
|
Merged
Are relative imports possible? The unfound module is up one directory.
$ git diff
diff --git a/tests/Golden.hs b/tests/Golden.hs
index f6b8df1..9f8c761 100644
--- a/tests/Golden.hs
+++ b/tests/Golden.hs
@@ -7,6 +7,7 @@
module Golden where
+import Debug.Trace
import Control.Lens hiding (argument)
import Control.Monad.Catch (bracket)
import Control.Monad
@@ -37,7 +38,7 @@ mkGoldenTests :: IO TestTree
mkGoldenTests = do
klisterFiles <- findByExtension [".kl"] "examples"
return $ testGroup "Golden tests"
- [ let actual = execWriterT $ runExamples file
+ [ let actual = execWriterT $ runExamples (traceShowId file)
in goldenVsStringDiff testName diffCmd goldenFile (TE.encodeUtf8 <$> actual)
| file <- klisterFiles
, let testName = takeBaseName file
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've converted klister to use updo1. I have it compiling with
ghc-9.8.2
. Before I did the conversion I found that 3 tests failed (both withstack test
and withcabal test
):I also noticed some compiler warnings;
-Wtype-equality-requires-operators
-Wincomplete-uni-patterns
Footnotes
@gelisam Updo is the project I mentioned at your "Build Systems à la Carte" talk. ↩
The text was updated successfully, but these errors were encountered: