Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private struct NumberParseStrategyTests {
try _verifyRoundtripCurrency(negativeData, currencyStyle.decimalSeparator(strategy: .always), "currency style, decimal display: always")
}

@Test func parseStategyCodable_sameCurrency() throws {
@Test func parseStrategyCodable_sameCurrency() throws {
// same currency code
let fs: IntegerFormatStyle<Int32>.Currency = .init(code: "USD", locale: Locale(identifier:"en_US"))
let p = IntegerParseStrategy(format: fs)
Expand All @@ -228,7 +228,7 @@ private struct NumberParseStrategyTests {
#expect(decoded.formatStyle.currencyCode == "USD")
}

@Test func parseStategyCodable_differentCurrency() throws {
@Test func parseStrategyCodable_differentCurrency() throws {
let fs: IntegerFormatStyle<Int32>.Currency = .init(code: "GBP", locale: Locale(identifier:"en_US"))
let p = IntegerParseStrategy(format: fs)
// Valid JSON representation for `p`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ DEBIT 03/24/2020 IRX tax payment ($52,249.98)
}

@Test func apiStatements2() {
// Test dates and numbers appearing in unexpeted places
// Test dates and numbers appearing in unexpected places
let statement = """
CREDIT Apr 06/20 Zombie 5.29lb@$3.99/lb USD 21.11
DSLIP Apr 06/20 GMT gain USD 3,020.85
Expand Down