Skip to content

Commit

Permalink
disk: move TestPartitionTables to internal/testdisk
Browse files Browse the repository at this point in the history
Move the TestPartitionTables from the disk tests to the
internal/testdisk package.

This makes the test partition tables reusable across the project, but
also makes it impossible to use them in internal disk tests (import
cycle).  The PartitionTableFeatures test is therefore moved to the
disk_test package instead and the function is exported for testing in
the pkg/disk/export_test.go file.
  • Loading branch information
achilleas-k committed Nov 27, 2024
1 parent 3ec3269 commit 1f9e2a2
Show file tree
Hide file tree
Showing 5 changed files with 420 additions and 403 deletions.
Loading

0 comments on commit 1f9e2a2

Please sign in to comment.