Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Dec 28, 2024
1 parent 0af4944 commit d0cf403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModelicaTest/Utilities.mo
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ extends Modelica.Icons.ExamplesPackage;

// Strings.contains
assert(Strings.contains("", ""), "Strings.contains 1 failed (empty strings)");
assert(Strings.contains("foo bar", "o"), "Strings.contains 2 failed (multiple occurences)");
assert(Strings.contains("foo bar", "o"), "Strings.contains 2 failed (multiple occurrences)");
assert(Strings.contains("foo bar", "o ba"), "Strings.contains 3 failed (occurrence at middle)");
assert(Strings.contains("foo bar", "fo"), "Strings.contains 4 failed (occurrence at start)");
assert(Strings.contains("foo bar", "ar"), "Strings.contains 5 failed (occurrence at end)");
Expand Down

0 comments on commit d0cf403

Please sign in to comment.