Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unity.py: fixing whitespace issue when running tests with -Wpedantic #4671

Closed
wants to merge 1 commit into from

Commits on Jun 18, 2023

  1. unity.py: fixing whitespace issue when running tests with `-Wpedantic…

    …` flag
    
    ```
    Library Manager: Installing throwtheswitch/Unity @ ^2.5.2
    Unpacking  [####################################]  100%
    Library Manager: [email protected] has been installed!
    .pio/build/native/unity_config/unity_config.c:44:5: warning: no newline at end of file [-Wnewline-eof]
    
        ^
    1 warning generated.
    Testing...
    ```
    
    In the generated code, there used to be a blank line with 4 spaces -> `strip(' ')` removes the spaces, leaving the blank line intact.
    MacDada committed Jun 18, 2023
    Configuration menu
    Copy the full SHA
    9f89733 View commit details
    Browse the repository at this point in the history