stripCodeFence unti tests
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
Research direction
Read stripCodeFence in agent/normalize.go and the tests in agent/agent_test.go. Add unit cases for the listed fence forms and for valid unfenced input. Done when fenced inputs are stripped and the unfenced example passes through unchanged.
Written by the indexing model from the issue text.
Description
##What
Add unit tests specifically for the stripCodeFence function in agent/normalize.go.
##Where
Add the unit test into agent/agent_test.go
##Exhaustiveness
the test should cover all current catches by stripCodeFence and a proper input not getting caught
This may be expanded since the time of writing this but current includes:
Done when
those cases should get caught ie they get stripped while an example with out the code fence should pass through unedited ie:
{"name":"list_directory","arguments":{./}}
- Dominant language
- Go
- Stars
- 1
- Forks
- 2
- Avg merge
- 16h 20m
- Merged PRs (30d)
- 13
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Edwin-metcalf/MetCode
-
TestRunCommandHelper_RejectsPathEscapingRoot/absolute_path fails on WindowsPossibly taken @Edwin-metcalf claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Edwin-metcalf/MetCode#24 ·
Maintainers usually reply within 1 day
-
documentation enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Edwin-metcalf/MetCode#19 ·
Maintainers usually reply within 1 day
-
testing
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Edwin-metcalf/MetCode#9 ·
Maintainers usually reply within 1 day
-
Add a MakefileOpenenhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Edwin-metcalf/MetCode#8 ·
Maintainers usually reply within 1 day
-
Add a --host flagOpenenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Edwin-metcalf/MetCode#7 ·
Maintainers usually reply within 1 day
All issues in Edwin-metcalf/MetCode
Similar issues
-
[BUG] deploy.restart_policy without condition drops the restart policyPossibly taken @akshat-lakhera claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
docker/compose#14383 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AvengeMedia/dank-greeter#39 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
dokku/dokku-datastore#367 ·
Maintainers usually reply within 1 day
-
[Bug]: ap gateway image build cannot find local policies on WindowsPossibly taken @Jayzilva claimed this today. OpenAspect/Configuration Severity/Major
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
wso2/api-platform#3912 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days