Skip to content

Commit

Permalink
Add test for UTF8 diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Feb 3, 2016
1 parent 4915f47 commit 5ccaa40
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openmodelica/diff/Makefile
Expand Up @@ -10,7 +10,8 @@ ChangeSourceFile.mos \
LargeFileChange.mos \
ListFile.mos \
removeComponentModifiers.mos \
TestDiffListAPI.mos
TestDiffListAPI.mos \
UTF8.mos

# test that currently fail. Move up when fixed.
# Run make testfailing
Expand Down
11 changes: 11 additions & 0 deletions openmodelica/diff/UTF8.mos
@@ -0,0 +1,11 @@
// status: correct

diffModelicaFileListings("model M \"Linköping\"
end M;", "model M \"Linköping University\"
end M;");
getErrorString();
// Result:
// "model M \"Linköping\"\"Linköping University\"
// end M;"
// ""
// endResult

0 comments on commit 5ccaa40

Please sign in to comment.