Skip to content

Commit

Permalink
[NF] Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
perost authored and OpenModelica-Hudson committed May 17, 2018
1 parent 9a756d2 commit 2a436dd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion flattening/modelica/scodeinst/BuiltinAttribute5.mo
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ end BuiltinAttribute5;

// Result:
// Error processing file: BuiltinAttribute5.mo
// [flattening/modelica/scodeinst/BuiltinAttribute5.mo:8:10-8:24:writable] Error: Type mismatch in binding start = "fish", expected subtype of Real, got type String.
// [flattening/modelica/scodeinst/BuiltinAttribute5.mo:8:10-8:24:writable] Notification: From here:
// [flattening/modelica/scodeinst/BuiltinAttribute5.mo:8:3-8:25:writable] Error: Type mismatch in binding start = "fish", expected subtype of Real, got type String.
//
// # Error encountered! Exiting...
// # Please check the error message and the flags.
Expand Down
3 changes: 2 additions & 1 deletion flattening/modelica/scodeinst/BuiltinAttribute6.mo
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ end BuiltinAttribute6;

// Result:
// Error processing file: BuiltinAttribute6.mo
// [flattening/modelica/scodeinst/BuiltinAttribute6.mo:8:10-8:22:writable] Error: Type mismatch in binding quantity = 1, expected subtype of String, got type Integer.
// [flattening/modelica/scodeinst/BuiltinAttribute6.mo:8:10-8:22:writable] Notification: From here:
// [flattening/modelica/scodeinst/BuiltinAttribute6.mo:8:3-8:23:writable] Error: Type mismatch in binding quantity = 1, expected subtype of String, got type Integer.
//
// # Error encountered! Exiting...
// # Please check the error message and the flags.
Expand Down
3 changes: 2 additions & 1 deletion flattening/modelica/scodeinst/DimUnknown4.mo
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ end DimUnknown4;

// Result:
// Error processing file: DimUnknown4.mo
// [flattening/modelica/scodeinst/DimUnknown4.mo:17:22-17:29:writable] Error: Type mismatch in binding x = 3, expected subtype of Real[:, :], got type Real.
// [flattening/modelica/scodeinst/DimUnknown4.mo:17:22-17:29:writable] Notification: From here:
// [flattening/modelica/scodeinst/DimUnknown4.mo:9:3-9:15:writable] Error: Type mismatch in binding x = 3.0, expected subtype of Real[:, :], got type Real.
//
// # Error encountered! Exiting...
// # Please check the error message and the flags.
Expand Down
3 changes: 2 additions & 1 deletion flattening/modelica/scodeinst/Each3.mo
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ end Each3;
// Result:
// Error processing file: Each3.mo
// [flattening/modelica/scodeinst/Each3.mo:12:12-12:25:writable] Warning: 'each' used when modifying non-array element a.
// [flattening/modelica/scodeinst/Each3.mo:12:14-12:24:writable] Error: Type mismatch in binding fixed = true, expected subtype of Boolean[2], got type Boolean.
// [flattening/modelica/scodeinst/Each3.mo:12:14-12:24:writable] Notification: From here:
// [flattening/modelica/scodeinst/Each3.mo:8:3-8:12:writable] Error: Type mismatch in binding fixed = true, expected subtype of Boolean[2], got type Boolean.
//
// # Error encountered! Exiting...
// # Please check the error message and the flags.
Expand Down

0 comments on commit 2a436dd

Please sign in to comment.