packages feed

hslua-module-text 1.0.3 → 1.0.3.1

raw patch · 3 files changed

+13/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -2,6 +2,14 @@  `hslua-module-text` uses [PVP Versioning][]. +## hslua-module-text-1.0.3.1++Released 2023-01-06.++-   Generalized a test to avoid failures with stack nightly.++-   Added GHC 9.4 to test matrix.+ ## hslua-module-text-1.0.3  Released 2023-01-03.
hslua-module-text.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.2 name:                hslua-module-text-version:             1.0.3+version:             1.0.3.1 synopsis:            Lua module for text description:         UTF-8 aware subset of Lua's `string` module.                      .@@ -22,7 +22,8 @@                    , GHC == 8.8.3                    , GHC == 8.10.7                    , GHC == 9.0.2-                   , GHC == 9.2.3+                   , GHC == 9.2.5+                   , GHC == 9.4.4  source-repository head   type:              git
test/test-text.lua view
@@ -91,7 +91,7 @@     test('throws error if input cannot be decoded', function ()       assert.error_matches(         function () text.fromencoding('\xff\xff\xff\ff', 'utf16le') end,-        "invalid byte sequence"+        "invalid"       )     end),     test('throws error if input is not a string', function ()@@ -124,7 +124,7 @@     test('throws error if input cannot be encoded', function ()       assert.error_matches(         function () text.toencoding('😊', 'latin1') end,-        "invalid character"+        "invalid"       )     end),   }