Skip to content

Fix UnityPrint filename escaping in test runner - #846

Merged
mvandervoord merged 1 commit into
ThrowTheSwitch:masterfrom
swaldhoer:patch-3
Aug 24, 2026
Merged

Fix UnityPrint filename escaping in test runner#846
mvandervoord merged 1 commit into
ThrowTheSwitch:masterfrom
swaldhoer:patch-3

Conversation

@swaldhoer

Copy link
Copy Markdown
Contributor

Currently created code:

    if (parse_status < 0)
    {
      UnityPrint("foo/bar/more/bla"); // file extension missing
      UNITY_PRINT_EOL();
      return 0;
    }
    return parse_status;
  }

This is then fixed to become:

    if (parse_status < 0)
    {
      UnityPrint("foo/bar/more/bla.c"); // file extension added
      UNITY_PRINT_EOL();
      return 0;
    }
    return parse_status;
  }

(I needed to do apply this in the GitHub UI, please verify that I did not make copy-paste error in the web UI)

@mvandervoord
mvandervoord merged commit d07f0b5 into ThrowTheSwitch:master Aug 24, 2026
4 checks passed
@swaldhoer
swaldhoer deleted the patch-3 branch August 25, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants