This commit is contained in:
Paul Gauthier 2023-05-21 16:25:02 -07:00
parent 3e7ce3b0fc
commit fb6ada2774

View file

@ -17,9 +17,9 @@ Using only the meta-data in the map, GPT is able to:
- Figure out the arguments required to instantiate the `InputOuput` instance. - Figure out the arguments required to instantiate the `InputOuput` instance.
- Decide that the `Coder` class looks complex enough to use a `MagickMock`. - Decide that the `Coder` class looks complex enough to use a `MagickMock`.
The signature of `cmd_add()` doesn't have types, so GPT makes a The `cmd_add()` method is defined without type annotations, so GPT makes a
reasonable but incorrect guess that it wants a `list` of files. The reasonable but incorrect guess that it accepts a `list` of files. The
user uses the `/run` command to run the new unit test, which throws an user invokes the `/run` command to run the new unit test, which throws an
error based on this misunderstanding. error based on this misunderstanding.
GPT reviews the error message and fixes the call to `cmd_add()` to GPT reviews the error message and fixes the call to `cmd_add()` to