Skip to content

Commit

Permalink
Fix diff test
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilKleistGao committed Jan 18, 2025
1 parent 3868a9a commit a9cc07f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/DiffTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public GitDiffData() {
Array.ForEach(res.Split('\n'), line => {
if (line.Length < 3) { return; }

string s = line.TrimStart()[..2];
string s = line[..2];
string path = line[(line.LastIndexOf("/") + 1)..];
if (path.EndsWith(DiffTests.testExtension)) {
bool flag = false;
Expand Down
4 changes: 4 additions & 0 deletions Tests/Mario/literals.mario
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
;;|| --- Result --- ||
;;|| Res: 3.14


1e5
;;|| --- Result --- ||
;;|| Res: 100000

0 comments on commit a9cc07f

Please sign in to comment.