Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Aug 21, 2024
1 parent 597f61f commit c642e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Codec/Tests/CodecTests/IntegerCodecTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ import Testing

@Test func multipleDecodes() throws {
var data = Data([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15])
#expect(data.decode(length: 8) as UInt64? == 0x0706050403020100)
#expect(data.decode(length: 4) as UInt32? == 0x0B0A0908)
#expect(data.decode(length: 8) as UInt64? == 0x0706_0504_0302_0100)
#expect(data.decode(length: 4) as UInt32? == 0x0B0A_0908)
#expect(data.decode(length: 2) as UInt16? == 0x0D0C)
#expect(data.decode() == 0x0E)
#expect(data.decode() == 0x0F)
Expand Down

0 comments on commit c642e62

Please sign in to comment.