Skip to content

Commit

Permalink
Added tests to show truncation is not an issue anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
synacktic committed Jan 6, 2022
1 parent f4c9857 commit c816ba3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MBBSEmu.Tests/ExportedModules/Majorbbs/sprintf_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public class sprintf_Tests : ExportedModuleTestBase
[InlineData("%%%%", "%%", null)] //Escaped %
[InlineData("%%%%%", "%%%", null)] //Escaped & Unescaped %
[InlineData("%%%%% ", "%%% ", null)] //Escaped & Unescaped %
[InlineData("%-8s", "gold crowns", "gold crowns")]
[InlineData("%-8s", "gold ", "gold")]
public void sprintf_Test(string formatString, string expectedString, params object[] values)
{
Reset();
Expand Down

0 comments on commit c816ba3

Please sign in to comment.