Skip to content

Test failure: Currency formatting tests for Yen and Yuan fail on windows #88

Closed
@jhgbrt

Description

@jhgbrt

Two test failures formatting currencies. Maybe OS related (I'm on Windows):

JapaneseYen:

OrchardCore.Commerce.Tests.CurrencyTests.CurrenciesProperlyFormatAmounts(currency: ¥, amount: 1234,56, expectedFormat: "¥1,235") 
          Duration: 4 ms

      Message: 
    Assert.Equal() Failure
          ↓ (pos 0)
    Expected: ¥1,235
    Actual:   ¥1,235
          ↑ (pos 0)

      Stack Trace: 
      CurrencyTests.CurrenciesProperlyFormatAmounts(ICurrency currency, Decimal amount, String expectedFormat) line 29

ChineseYuan:

OrchardCore.Commerce.Tests.CurrencyTests.CurrenciesProperlyFormatAmounts(currency: ¥, amount: 1234,56, expectedFormat: "¥1,234.56") 
      Duration: < 1 ms

      Message: 
    Assert.Equal() Failure
           ↓ (pos 1)
    Expected: ¥1,234.56
    Actual:   ¥ 1,234.56
           ↑ (pos 1)

      Stack Trace: 
CurrencyTests.CurrenciesProperlyFormatAmounts(ICurrency currency, Decimal amount, String expectedFormat) line 29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions