chore: fix typos and link broken (#150402)

**fix some typos and link broken**
This commit is contained in:
Snoppy
2024-07-04 01:10:19 +08:00
committed by GitHub
parent e383db7087
commit 65cd7cf7b2
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# Debug Adapter Protocol (DAP)
This document is Flutter-specific. For information on the standard Dart DAP implementation, [see this document](https://github.com/dart-lang/sdk/blob/main/pkg/dds/tool/dap/README.md).
This document is Flutter-specific. For information on the standard Dart DAP implementation, [see this document](https://github.com/dart-lang/sdk/blob/main/third_party/pkg/dap/tool/README.md).
Flutter includes support for debugging using [the Debug Adapter Protocol](https://microsoft.github.io/debug-adapter-protocol/) as an alternative to using the [VM Service](https://github.com/dart-lang/sdk/blob/main/runtime/vm/service/service.md) directly, simplifying the integration for new editors.

View File

@@ -39,7 +39,7 @@ public class FlutterTestRunner extends Runner {
break;
}
} catch (InvocationTargetException | NoSuchMethodException e) {
throw new RuntimeException("Unable to contruct " + testClass.getName() + " object for testing");
throw new RuntimeException("Unable to construct " + testClass.getName() + " object for testing");
} catch (InstantiationException | IllegalAccessException e) {
// This might occur if the developer did not make the rule public.
// We could call field.setAccessible(true) but it seems better to throw.