Skip to content

Commit

Permalink
chore: rfc-index.txt minor tidyups
Browse files Browse the repository at this point in the history
  • Loading branch information
holloway committed Jan 16, 2025
1 parent 851934c commit b31a2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/utilities/rfc-index.txt.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ApiClient, SlugEnum } from '~/generated/red-client'
const paragraph =
'Obsoletes xxxx refers to other RFCs that this one replaces; Obsoleted by xxxx refers to RFCs that have replaced this one. Updates xxxx refers to other RFCs that this one merely updates (but does not replace);'

test('splitWordsAt: 40', () => {
test('splitLinesAt: 40', () => {
expect(splitLinesAt(paragraph, 40)).toEqual([
'Obsoletes xxxx refers to other RFCs that',
'this one replaces; Obsoleted by xxxx',
Expand All @@ -19,7 +19,7 @@ test('splitWordsAt: 40', () => {
])
})

test('splitWordsAt: 50', () => {
test('splitLinesAt: 50', () => {
expect(splitLinesAt(paragraph, 50)).toEqual([
'Obsoletes xxxx refers to other RFCs that this one',
'replaces; Obsoleted by xxxx refers to RFCs that',
Expand Down

0 comments on commit b31a2e1

Please sign in to comment.