From b31a2e15a8c786e59a4464fdfc820ce9ea88565e Mon Sep 17 00:00:00 2001 From: Matthew Holloway Date: Fri, 17 Jan 2025 10:20:19 +1300 Subject: [PATCH] chore: rfc-index.txt minor tidyups --- client/utilities/rfc-index.txt.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/utilities/rfc-index.txt.test.ts b/client/utilities/rfc-index.txt.test.ts index bbd16a3..f8824c1 100644 --- a/client/utilities/rfc-index.txt.test.ts +++ b/client/utilities/rfc-index.txt.test.ts @@ -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', @@ -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',