mockito icon indicating copy to clipboard operation
mockito copied to clipboard

Header output uses a symlink

Open bparrishMines opened this issue 3 years ago • 0 comments

When running flutter pub run build_runner build in webview_flutter_wkwebview/, the header uses a symlink in the generated mock file:

webview_flutter_wkwebview/test/src/web_kit_webview_widget_test.mocks.dart:

// Mocks generated by Mockito 5.1.0 from annotations
// in webview_flutter_wkwebview/example/ios/.symlinks/plugins/webview_flutter_wkwebview/test/src/web_kit_webview_widget_test.dart.
// Do not manually edit this file.

I assume it should output:

// Mocks generated by Mockito 5.1.0 from annotations
// in webview_flutter_wkwebview/test/src/web_kit_webview_widget_test.dart.
// Do not manually edit this file.

Everything else about the generated code is correct.

Plugin code: https://github.com/flutter/plugins/tree/main/packages/webview_flutter/webview_flutter_wkwebview

bparrishMines avatar Mar 08 '22 19:03 bparrishMines