From 38d6dccc8eac92b05f95a003a09ebb7c8365019e Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Sat, 16 Jan 2021 22:15:36 -0500 Subject: [PATCH] Show the correct badge for this project. Fix a bug in a test. --- README.md | 2 +- test/unit/cmock_header_parser_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b50a47..8fbfad0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -CMock ![CI](https://github.com/ThrowTheSwitch/Unity/workflows/CI/badge.svg) +CMock ![CI](https://github.com/ThrowTheSwitch/CMock/workflows/CI/badge.svg) ===== CMock is a mock and stub generator and runtime for unit testing C. It's been designed to work smoothly with Unity Test, another of the embedded-software testing tools diff --git a/test/unit/cmock_header_parser_test.rb b/test/unit/cmock_header_parser_test.rb index 92c7736..cb535ef 100644 --- a/test/unit/cmock_header_parser_test.rb +++ b/test/unit/cmock_header_parser_test.rb @@ -2245,7 +2245,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do "#include \"cmock.h\"\n" + "#include \"YetAnotherHeader.h\"\n" + "\n" + - "/* Ignore the following warnings since we are copying code */\n" + + "\n" + #The comments are now removed "#if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)\n" + "#if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 6 || (__GNUC_MINOR__ == 6 && __GNUC_PATCHLEVEL__ > 0)))\n" + "#pragma GCC diagnostic push\n" +