packages feed

tasty-lua 0.2.2 → 0.2.3

raw patch · 3 files changed

+16/−5 lines, 3 filesdep ~hsluadep ~tasty

Dependency ranges changed: hslua, tasty

Files

CHANGELOG.md view
@@ -1,5 +1,15 @@ # Revision history for tasty-lua +## 0.2.3 -- 2020-08-15++- CI now also builds with for GHC 8.10.++- Errors are now explicitly converted to strings before matched+  when using `error_matches`.++- Relax version limits for tasty and hslua, allowing tasty-1.3.*+  and hslua-1.2.*.+ ## 0.2.2 -- 2020-01-26  - Avoid compilation warnings on GHC 8.2 and older. Monoid
tasty-lua.cabal view
@@ -1,5 +1,5 @@ name:                tasty-lua-version:             0.2.2+version:             0.2.3 synopsis:            Write tests in Lua, integrate into tasty. description:         Allow users to define tasty tests from Lua. homepage:            https://github.com/hslua/tasty-lua@@ -19,7 +19,8 @@                    , GHC == 8.2.2                    , GHC == 8.4.4                    , GHC == 8.6.5-                   , GHC == 8.8.1+                   , GHC == 8.8.3+                   , GHC == 8.10.1  source-repository head   type:              git@@ -29,8 +30,8 @@   build-depends:       base        >= 4.9    && < 5                      , bytestring  >= 0.10.2 && < 0.11                      , file-embed  >= 0.0    && < 0.1-                     , hslua       >= 1.0.3  && < 1.2-                     , tasty       >= 1.2    && < 1.3+                     , hslua       >= 1.0.3  && < 1.3+                     , tasty       >= 1.2    && < 1.4                      , text        >= 1.0    && < 1.3   exposed-modules:     Test.Tasty.Lua                      , Test.Tasty.Lua.Core
tasty.lua view
@@ -78,7 +78,7 @@   if success then     return false   end-  return msg:match(pattern)+  return tostring(msg):match(pattern) end  register_assertor('is_truthy', is_truthy, "expected a truthy value, got %s")