Skip to content

Update PureScript to >= 0.15.15 #23

@pete-murphy

Description

@pete-murphy

Tests pass on 0.15.13 but fail on 0.15.15.

NumberFormat.resolvedOptions
Expected: { currency: "USD", currencyDisplay: "symbol", currencySign: "standard", locale: "en-US", maximumFractionDigits: 2, minimumFractionDigits: 2, minimumIntegerDigits: 1, notation: "standard", numberingSystem: "latn", signDisplay: "auto", style: "currency", useGrouping: true }
Actual:   { currency: "USD", currencyDisplay: "symbol", currencySign: "standard", locale: "en-US", maximumFractionDigits: 2, minimumFractionDigits: 2, minimumIntegerDigits: 1, notation: "standard", numberingSystem: "latn", signDisplay: "auto", style: "currency", useGrouping: true }
file:///Users/pete/Code/purescript/js-intl/output/Test.Assert/foreign.js:4
      if (!success) throw new Error(message);
                          ^

Error: Expected: { currency: "USD", currencyDisplay: "symbol", currencySign: "standard", locale: "en-US", maximumFractionDigits: 2, minimumFractionDigits: 2, minimumIntegerDigits: 1, notation: "standard", numberingSystem: "latn", signDisplay: "auto", style: "currency", useGrouping: true }
Actual:   { currency: "USD", currencyDisplay: "symbol", currencySign: "standard", locale: "en-US", maximumFractionDigits: 2, minimumFractionDigits: 2, minimumIntegerDigits: 1, notation: "standard", numberingSystem: "latn", signDisplay: "auto", style: "currency", useGrouping: true }
    at file:///Users/pete/Code/purescript/js-intl/output/Test.Assert/foreign.js:4:27
    at __do (file:///Users/pete/Code/purescript/js-intl/output/Test.Assert/index.js:28:57)
    at __do (file:///Users/pete/Code/purescript/js-intl/output/Test.Main/index.js:510:7)
    at __do (file:///Users/pete/Code/purescript/js-intl/output/Test.Main/index.js:1507:5)
    at file:///Users/pete/Code/purescript/js-intl/.spago/run/run.js:3:1
    at ModuleJob.run (node:internal/modules/esm/module_job:268:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:543:26)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5)

Node.js v22.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions