Skip to content

[BUG?] TEST_ASSERT_EACH_EQUAL_MEMORY() treats the expected argument as an array rather than as a single value. #797

@parmi93

Description

@parmi93

While reviewing some old tests I wrote a few months ago, I realised that one of them should not have passed. Upon further investigation, it appears that TEST_ASSERT_EACH_EQUAL_MEMORY() treats the expected argument as an array rather than as a single value.

https://github.com/ThrowTheSwitch/Unity/blob/master/docs/UnityAssertionsReference.md#test_assert_each_equal_memory-expected-actual-len-num_elements

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions