Skip to content

Commit 0731745

Browse files
committed
#782 spark-cobol writer: DISPLAY numbers: fix a nitpick PR comment regarding the variable name.
1 parent e94730b commit 0731745

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spark-cobol/src/test/scala/za/co/absa/cobrix/spark/cobol/writer/FixedLengthEbcdicWriterSuite.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ class FixedLengthEbcdicWriterSuite extends AnyWordSpec with SparkTestBase with B
272272

273273
val path = new Path(tempDir, "writer1")
274274

275-
val copybookContentsWithBinFields =
275+
val copybookContentsWithDisplayFields =
276276
""" 01 RECORD.
277277
05 A PIC S9(1).
278278
05 B PIC 9(4)V9(2).
@@ -288,7 +288,7 @@ class FixedLengthEbcdicWriterSuite extends AnyWordSpec with SparkTestBase with B
288288
.write
289289
.format("cobol")
290290
.mode(SaveMode.Overwrite)
291-
.option("copybook_contents", copybookContentsWithBinFields)
291+
.option("copybook_contents", copybookContentsWithDisplayFields)
292292
.save(path.toString)
293293

294294
val fs = path.getFileSystem(spark.sparkContext.hadoopConfiguration)
@@ -339,7 +339,7 @@ class FixedLengthEbcdicWriterSuite extends AnyWordSpec with SparkTestBase with B
339339
assertArraysEqual(bytes, expected)
340340

341341
val df2 = spark.read.format("cobol")
342-
.option("copybook_contents", copybookContentsWithBinFields)
342+
.option("copybook_contents", copybookContentsWithDisplayFields)
343343
.load(path.toString)
344344
.orderBy("A")
345345

0 commit comments

Comments
 (0)