Skip to content

Commit 2fc5cd7

Browse files
committed
Rename testFinish to testAlign for BitWriters
1 parent f456b1e commit 2fc5cd7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Tests/BitByteDataTests/LsbBitWriterTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class LsbBitWriterTests: XCTestCase {
4848
XCTAssertEqual(bitWriter.data, Data(bytes: [0xCA]))
4949
}
5050

51-
func testFinish() {
51+
func testAlign() {
5252
let bitWriter = LsbBitWriter()
5353

5454
bitWriter.align()

Tests/BitByteDataTests/MsbBitWriterTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class MsbBitWriterTests: XCTestCase {
5151
XCTAssertEqual(bitWriter.data, Data(bytes: [0xCA]))
5252
}
5353

54-
func testFinish() {
54+
func testAlign() {
5555
let bitWriter = MsbBitWriter()
5656

5757
bitWriter.align()

Tests/LinuxMain.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ extension LsbBitWriterTests {
5252
("testWriteBitsArray", testWriteBitsArray),
5353
("testWriteNumber", testWriteNumber),
5454
("testAppendByte", testAppendByte),
55-
("testFinish", testFinish),
55+
("testAlign", testAlign),
5656
("testIsAligned", testIsAligned)
5757
]
5858
}
@@ -65,7 +65,7 @@ extension MsbBitWriterTests {
6565
("testWriteBitsArray", testWriteBitsArray),
6666
("testWriteNumber", testWriteNumber),
6767
("testAppendByte", testAppendByte),
68-
("testFinish", testFinish),
68+
("testAlign", testAlign),
6969
("testIsAligned", testIsAligned)
7070
]
7171
}

0 commit comments

Comments
 (0)