Repository navigation
Commit 4da6a9c
authored
Add compressionState to mock to avoid test failure (flutter#290)
A recent change to the Dart SDK will throw an exception if a null value is passed to an exhaustive switch statement on a non-nullable enum type.
(see dart-lang/sdk@2414b29)
Add `compressionState` to mock so that the tests don't fail when the Dart changes are released.
Related issue: flutter/flutter#666741 parent 62b83c7 commit 4da6a9c
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
| |||
0 commit comments