Skip to content

Fix UnityPrint filename escaping in test runner - #846

Open
swaldhoer wants to merge 1 commit into
ThrowTheSwitch:masterfrom
swaldhoer:patch-3
Open

Fix UnityPrint filename escaping in test runner#846
swaldhoer wants to merge 1 commit into
ThrowTheSwitch:masterfrom
swaldhoer:patch-3

Conversation

@swaldhoer

Copy link
Copy Markdown

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)

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.

1 participant