Trial PR to use an engine that has the null safety unfork CL in it. (#56309)

* Trial PR to use an engine that has the null safety unfork CL in it.

* Fix mack specification for test.
This commit is contained in:
Siva 2020-05-05 09:54:21 -07:00 committed by GitHub
parent 9a99403ad2
commit a48a51b0ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
95ecd9a4050c38ce82a99c8fce70cacaf41a5a1b 494a63c4117fec7ea4b3d8b01346522aa61cff68

View File

@ -35,7 +35,7 @@ void main() {
final MockFile pluginJavaMainClass = MockFile(); final MockFile pluginJavaMainClass = MockFile();
when(pluginJavaMainClass.existsSync()).thenReturn(true); when(pluginJavaMainClass.existsSync()).thenReturn(true);
when(pluginJavaMainClass.readAsStringSync()).thenThrow(const FileSystemException()); when(pluginJavaMainClass.readAsStringSync(encoding: anyNamed('encoding'))).thenThrow(const FileSystemException());
when(mockFileSystem.file('.pub_cache/plugin_a/android/src/main/java/com/company/PluginA.java')) when(mockFileSystem.file('.pub_cache/plugin_a/android/src/main/java/com/company/PluginA.java'))
.thenReturn(pluginJavaMainClass); .thenReturn(pluginJavaMainClass);