Skip to content

Commit

Permalink
fix #334
Browse files Browse the repository at this point in the history
  • Loading branch information
wiztigers committed Nov 8, 2016
1 parent d5c4aea commit 1d61087
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions Codegen/test/Parsers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,14 @@ public void ParseLibrary() {
CodegenTestUtils.ParseGenerateCompare(Path.Combine("TypeCobol","Library")+".cbl", skeletons);
}

[TestMethod]
[TestCategory("Codegen")]
[TestProperty("Time","fast")]
public void ParseProcedureCall() {
var skeletons = CodegenTestUtils.ParseConfig(Path.Combine("TypeCobol","skeletons")+".xml");
CodegenTestUtils.ParseGenerateCompare(Path.Combine("TypeCobol","ProcedureCall")+".cbl", skeletons);
}


}
}
4 changes: 2 additions & 2 deletions Codegen/test/resources/output/TypeCobol/FunDeclare.cbl
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,10 @@
PROGRAM-ID. MyNOT-01.
DATA DIVISION.
LINKAGE SECTION.
01 x PIC X VALUE LOW-VALUE.
01 x-value PIC X VALUE LOW-VALUE.
88 x VALUE 'T'.
88 x-false VALUE 'F'.
01 y PIC X VALUE LOW-VALUE.
01 y-value PIC X VALUE LOW-VALUE.
88 y VALUE 'T'.
88 y-false VALUE 'F'.
PROCEDURE DIVISION
Expand Down

0 comments on commit 1d61087

Please sign in to comment.