Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit b14fc7d

Browse files
sjoelundOpenModelica-Hudson
authored andcommitted
Add testcase for ticket 5360
Belonging to [master]: - OpenModelica/OMCompiler#2998 - #1147
1 parent 30e9e67 commit b14fc7d

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

openmodelica/diff/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ ticket3642.mos \
2121
Ticket4110.mos \
2222
ticket4153.mos \
2323
ticket4368.mos \
24+
ticket5360.mos \
2425
UTF8.mos
2526

2627
# test that currently fail. Move up when fixed.

openmodelica/diff/ticket5360.mos

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// status: correct
2+
3+
diffModelicaFileListings("model M
4+
5+
end M;", "within A; model M end M;", OpenModelica.Scripting.DiffFormat.plain);
6+
7+
// Result:
8+
// "within A;
9+
//
10+
// model M
11+
//
12+
// end M;"
13+
// endResult

0 commit comments

Comments
 (0)