Skip to content

Add unit tests for tecDIR_FULL #5969

@Bronek

Description

@Bronek

Summary

We should add unit tests for tecDIR_FULL error wherever possible. Currently lines such as return tecDIR_FULL; are adorned with // LCOV_EXCL_LINE, but this error is now testable.

Since #5935 we have the means to move the last page in a directory to any arbitrary index (only on open ledger, but that should be sufficient for the purpose of writing unit tests).

Motivation

Improve unit test coverage

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueGreat issue for a new contributorTech DebtNon-urgent improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions