Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1df541d

Browse files
committed
Fix windows compile error
1 parent 538309d commit 1df541d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

shell/common/input_events_unittests.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
namespace flutter {
99
namespace testing {
1010

11+
#ifdef OS_MACOSX || OS_LINUX // the following tests only work on linux or mac
12+
1113
using Generator = std::function<int(int)>;
1214

1315
TEST_F(ShellTest, MissAtMostOneFrameForIrregularInputEvents) {
@@ -112,5 +114,7 @@ TEST_F(ShellTest, HandlesActualIphoneXsInputEvents) {
112114
}
113115
}
114116

117+
#endif // OS_MACOXS || OS_LINUX
118+
115119
} // namespace testing
116120
} // namespace flutter

0 commit comments

Comments
 (0)