Skip to content

Commit

Permalink
fix: typo correction validations.test.ts (#2405)
Browse files Browse the repository at this point in the history
### Why is this change needed?
Corrected a typographical error in the test description. Changed "inpt"
to "input" in `validations.test.ts`.
This fix improves code readability and consistency.

---

## Merge Checklist

- [x] PR title adheres to the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/) standard.
- [ ] PR has a
[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets).
- [ ] PR has been tagged with a change label(s) (i.e., documentation,
feature, bugfix, or chore).
- [ ] PR includes
[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)
if necessary.

---

## Commits

- **Commit:** `typo validations.test.ts`  
- Changed "inpt" to "input" in the file
`packages/core/src/validations.test.ts`.


<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on correcting a typo in a test description within the
`validations.test.ts` file.

### Detailed summary
- Changed the test description from `"succeeds with valid string inpt"`
to `"succeeds with valid string input"` in the `test` function.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
  • Loading branch information
rebustron authored Nov 22, 2024
1 parent b69cb8f commit 45e7ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/validations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe("validateFname", () => {
expect(validations.validateFname(fname)).toEqual(ok(fname));
});

test("succeeds with valid string inpt", () => {
test("succeeds with valid string input", () => {
const fname = bytesToUtf8String(Factories.Fname.build())._unsafeUnwrap();
expect(validations.validateFname(fname)).toEqual(ok(fname));
});
Expand Down

0 comments on commit 45e7ae1

Please sign in to comment.