Skip to content

Commit e1dbe30

Browse files
scalastyle fixes
1 parent dfc816d commit e1dbe30

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

kernel/kernel-defaults/src/test/scala/io/delta/kernel/defaults/MetricsReportSuite.scala

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ class MetricsReportSuite extends AnyFunSuite with TestUtils {
119119
case None => assert(!snapshotReport.exception().isPresent)
120120
}
121121
assert(snapshotReport.reportUUID != null)
122-
assert(Objects.equals(snapshotReport.version, expectedVersion), s"Expected version $expectedVersion found ${snapshotReport.version}")
122+
assert(Objects.equals(snapshotReport.version, expectedVersion),
123+
s"Expected version $expectedVersion found ${snapshotReport.version}")
123124
assert(Objects.equals(snapshotReport.providedTimestamp, expectedProvidedTimestamp))
124125

125126
// Since we cannot know the actual durations of these we sanity check that they are > 0 and
@@ -260,8 +261,8 @@ class MetricsReportSuite extends AnyFunSuite with TestUtils {
260261
)
261262

262263
// Test getSnapshotAsOfTimestamp
263-
val version2Timestamp = new File(FileNames.deltaFile(new Path(tempDir.getCanonicalPath, "_delta_log"), 2))
264-
.lastModified()
264+
val version2Timestamp = new File(
265+
FileNames.deltaFile(new Path(tempDir.getCanonicalPath, "_delta_log"), 2)).lastModified()
265266
checkSnapshotReport(
266267
(table, engine) => table.getSnapshotAsOfTimestamp(engine, version2Timestamp),
267268
tempDir.getCanonicalPath,
@@ -302,7 +303,8 @@ class MetricsReportSuite extends AnyFunSuite with TestUtils {
302303

303304
// Test getSnapshotAsOfTimestamp
304305
// We use the timestamp of version 0
305-
val version0Timestamp = new File(FileNames.deltaFile(new Path(path, "_delta_log"), 0)).lastModified()
306+
val version0Timestamp = new File(FileNames.deltaFile(new Path(path, "_delta_log"), 0))
307+
.lastModified()
306308
checkSnapshotReport(
307309
(table, engine) => table.getSnapshotAsOfTimestamp(engine, version0Timestamp),
308310
path,

0 commit comments

Comments
 (0)