Skip to content

Commit 858c896

Browse files
committed
scalafix
1 parent c8250b8 commit 858c896

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/test/scala/eu/neverblink/jelly/cli/command/rdf/RdfToJellySpec.scala

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,14 @@ class RdfToJellySpec extends AnyWordSpec with TestFixtureHelper with Matchers:
117117
}
118118

119119
"input stream to output stream, GRAPHS stream type, 5 RDF datasets" in {
120-
val bytes = (1 to 5).map(i => DataGenHelper.generateJenaInputStreamDataset(
121-
4,
122-
testCardinality,
123-
RDFLanguages.NQUADS,
124-
f"dataset$i/",
125-
).readAllBytes()).foldLeft(Array.empty[Byte])(_ ++ _)
120+
val bytes = (1 to 5).map(i =>
121+
DataGenHelper.generateJenaInputStreamDataset(
122+
4,
123+
testCardinality,
124+
RDFLanguages.NQUADS,
125+
f"dataset$i/",
126+
).readAllBytes(),
127+
).foldLeft(Array.empty[Byte])(_ ++ _)
126128
val inputStream = new ByteArrayInputStream(bytes)
127129
RdfToJelly.setStdIn(inputStream)
128130
val (out, err) = RdfToJelly.runTestCommand(
@@ -497,7 +499,7 @@ class RdfToJellySpec extends AnyWordSpec with TestFixtureHelper with Matchers:
497499
cause.message should include("name table size of 5 ")
498500
e.code should be(1)
499501
}
500-
502+
501503
"unknown physical type specified" in withFullJenaFile { f =>
502504
val e = intercept[ExitException] {
503505
RdfToJelly.runTestCommand(List("rdf", "to-jelly", f, "--opt.physical-type=UNKNOWN"))

0 commit comments

Comments
 (0)