google / google/dotprompt

Clarify empty response body behavior in parse tests

Open
#495 0 comments 0 reactions 0 assignees View on GitHub
documentation go javascript python
Dominant language
Starlark
Stars
563
Forks
68
Avg merge
6m
Merged PRs (30d)
2

Description

## Summary

There are TODOs in the parse tests questioning whether the current behavior for empty response bodies is correct. This needs investigation and documentation.

## Locations

- `js/src/parse.test.ts:859`: `// TODO: Check whether this is the correct behavior.`
- `python/dotpromptz/tests/dotpromptz/parse_test.py:728`: `# TODO: Check whether this is the correct behavior.`
- `go/dotprompt/parse_test.go:423`: `// TODO: May be change this behavior to return a matching body when`

## Acceptance Criteria

- [ ] Review current behavior for empty response bodies
- [ ] Document expected behavior in spec
- [ ] Update tests with clear assertions or fix implementation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.