mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-03-13 23:14:09 +00:00
Proper revert
This commit is contained in:
parent
f3132549d8
commit
8549b43646
@ -28,10 +28,11 @@ class KeyboardReportMatcher : public testing::MatcherInterface<report_keyboard_t
|
||||
virtual bool MatchAndExplain(report_keyboard_t& report, testing::MatchResultListener* listener) const override;
|
||||
virtual void DescribeTo(::std::ostream* os) const override;
|
||||
virtual void DescribeNegationTo(::std::ostream* os) const override;
|
||||
private:
|
||||
private:
|
||||
report_keyboard_t m_report;
|
||||
};
|
||||
|
||||
|
||||
template<typename... Ts>
|
||||
inline testing::Matcher<report_keyboard_t&> KeyboardReport(Ts... keys) {
|
||||
return testing::MakeMatcher(new KeyboardReportMatcher(std::vector<uint8_t>({keys...})));
|
||||
|
Loading…
Reference in New Issue
Block a user