Skip to content

Improve Ref tests #512

@joshlf

Description

@joshlf

#506 uncovered a bug in Ref::new_slice_from_suffix that hadn't been previously exercised by our tests. #511 improved test_new_aligned_sized, but there are other test functions which call Ref::new_slice_from_suffix.

We have two options:

  • Wait for Ref's constructors to be rebased on #406 and #498; once that happens, many of Ref's existing tests will be redundant
  • Improve other Ref tests along the same lines as #511

My current plan is to do the former, but I'm leaving this issue open to make sure we don't lose track of this work in case #406 and #498 don't end up landing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions