Skip to content

Commit 0b2cdfc

Browse files
committed
#435 Fix a variable name in the test suite.
1 parent fe7aea1 commit 0b2cdfc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cobol-parser/src/test/scala/za/co/absa/cobrix/cobol/parser/copybooks/ParseCopybooksFeauresSpec.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ParseCopybooksFeauresSpec extends FunSuite with SimpleComparisonBase {
2525
private implicit val logger: Logger = LoggerFactory.getLogger(this.getClass)
2626

2727
test("Test copybooks with indexed by clauses with multiple indexes separated by comma") {
28-
val copybookWithCommentLines =
28+
val copybookContents =
2929
"""
3030
01 ROOT-GROUP.
3131
05 FLD OCCURS 7 TIMES
@@ -42,14 +42,14 @@ class ParseCopybooksFeauresSpec extends FunSuite with SimpleComparisonBase {
4242
| 10 B1 3 1 1 1"""
4343
.stripMargin.replace("\r\n", "\n")
4444

45-
val copybook = CopybookParser.parseTree(copybookWithCommentLines)
45+
val copybook = CopybookParser.parseTree(copybookContents)
4646
val layout = copybook.generateRecordLayoutPositions()
4747

4848
assertEqualsMultiline(layout, expectedLayout)
4949
}
5050

5151
test("Test copybooks with indexed by clauses with multiple indexes separated by EOL") {
52-
val copybookWithCommentLines =
52+
val copybookContents =
5353
"""
5454
01 ROOT-GROUP.
5555
05 FLD OCCURS 7 TIMES
@@ -66,7 +66,7 @@ class ParseCopybooksFeauresSpec extends FunSuite with SimpleComparisonBase {
6666
| 10 B1 3 1 1 1"""
6767
.stripMargin.replace("\r\n", "\n")
6868

69-
val copybook = CopybookParser.parseTree(copybookWithCommentLines)
69+
val copybook = CopybookParser.parseTree(copybookContents)
7070
val layout = copybook.generateRecordLayoutPositions()
7171

7272
assertEqualsMultiline(layout, expectedLayout)

0 commit comments

Comments
 (0)