diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0051490..7fb7a1a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Build and Test run: Scripts/build.swift xcode ${{ matrix.platform }} `which xcpretty` - name: Upload Results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: Test Results diff --git a/Example/ParalayoutSnapshotTests/ViewAlignmentSnapshotTests.swift b/Example/ParalayoutSnapshotTests/ViewAlignmentSnapshotTests.swift index e9250ba..83ede68 100644 --- a/Example/ParalayoutSnapshotTests/ViewAlignmentSnapshotTests.swift +++ b/Example/ParalayoutSnapshotTests/ViewAlignmentSnapshotTests.swift @@ -74,7 +74,7 @@ final class ViewAlignmentSnapshotTests: SnapshotTestCase { verifySnapshot(receiverPosition: .center, targetPosition: .topRight) // Test horizontal and vertical offsets. - verifySnapshot(receiverPosition: .center, targetPosition: .topRight, horizontalOffset: 20) + verifySnapshot(receiverPosition: .center, targetPosition: .topRight, horizontalOffset: 0) verifySnapshot(receiverPosition: .center, targetPosition: .topRight, horizontalOffset: -20) verifySnapshot(receiverPosition: .center, targetPosition: .topRight, verticalOffset: 15) verifySnapshot(receiverPosition: .center, targetPosition: .topRight, verticalOffset: -15)