Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0723dac4 authored by James Lemieux's avatar James Lemieux Committed by Android (Google) Code Review
Browse files

Merge "Prepare for upgrade to Truth 0.42"

parents a941ce73 118e65b0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2680,9 +2680,7 @@ public class KeyValueBackupTaskTest {
        return Files.createTempFile(mContext.getCacheDir().toPath(), "backup", ".tmp");
    }

    private static IterableSubject<
                    ? extends IterableSubject<?, Path, Iterable<Path>>, Path, Iterable<Path>>
            assertDirectory(Path directory) throws IOException {
    private static IterableSubject assertDirectory(Path directory) throws IOException {
        return assertThat(oneTimeIterable(Files.newDirectoryStream(directory).iterator()))
                .named("directory " + directory);
    }