Skip to content

Commit

Permalink
rewrote disk-mapper integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Jan 15, 2024
1 parent 9cdc343 commit a86aee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disk-mapper/internal/test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func TestMapper(t *testing.T) {
require.NoError(setup(1), "failed to setup test disk")
defer func() { require.NoError(teardown(), "failed to delete test disk") }()

mapper, free, err := diskencryption.New(devicePath, slog.New(slog.NewPlainTextHandler(os.Stderr, nil))
mapper, free, err := diskencryption.New(devicePath, slog.New(slog.NewTextHandler(os.Stderr, nil)))
require.NoError(err, "failed to initialize crypt device")
defer free()

Expand Down

0 comments on commit a86aee3

Please sign in to comment.