| Index: pkg/expect/lib/expect.dart
|
| diff --git a/pkg/expect/lib/expect.dart b/pkg/expect/lib/expect.dart
|
| index 8e312063943e96fc9f47f741e98234673b6e60c4..3becc94b9dbbb66fb4c1d0636130a6a2ad613cab 100644
|
| --- a/pkg/expect/lib/expect.dart
|
| +++ b/pkg/expect/lib/expect.dart
|
| @@ -440,7 +440,7 @@ class Expect {
|
| [_CheckExceptionFn check = null, String reason = null]) {
|
| String msg = reason == null ? "" : "($reason)";
|
| if (f is! _Nullary) {
|
| - // Only throws from executing the funtion body should count as throwing.
|
| + // Only throws from executing the function body should count as throwing.
|
| // The failure to even call `f` should throw outside the try/catch.
|
| _fail("Expect.throws$msg: Function f not callable with zero arguments");
|
| }
|
|
|