From e63ed40153dfe88db70c334362a06fa712231c7a Mon Sep 17 00:00:00 2001 From: Christian Murphy Date: Sun, 12 Dec 2021 20:05:25 -0700 Subject: [PATCH] update tests for tables --- test/fixtures/runthrough.html | 2 +- test/test.jsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/fixtures/runthrough.html b/test/fixtures/runthrough.html index 8dd0c334..729fa3f4 100644 --- a/test/fixtures/runthrough.html +++ b/test/fixtures/runthrough.html @@ -110,7 +110,7 @@

Tables

-
TagUse
pParagraph
tableTable
emEmphasis
+
TagUse
pParagraph
tableTable
emEmphasis

Left/right aligned columns

diff --git a/test/test.jsx b/test/test.jsx index 71c1c491..9c0fc258 100644 --- a/test/test.jsx +++ b/test/test.jsx @@ -590,7 +590,7 @@ test('should pass `isHeader: boolean` to `tr`s', () => { /> ) const expected = - '
a
b
c
' + '
a
b
c
' assert.equal(actual, expected) }) @@ -613,7 +613,7 @@ test('should pass `isHeader: true` to `th`s, `isHeader: false` to `td`s', () => /> ) const expected = - '
a
b
c
' + '
a
b
c
' assert.equal(actual, expected) }) @@ -825,7 +825,7 @@ test('should render tables', () => { assert.equal( asHtml(), - '

Languages are fun, right?

\n
IDEnglishNorwegianItalian
1oneenuno
2twotodue
3threetretre
' + '

Languages are fun, right?

\n
IDEnglishNorwegianItalian
1oneenuno
2twotodue
3threetretre
' ) }) @@ -834,7 +834,7 @@ test('should render partial tables', () => { assert.equal( asHtml(), - '

User is writing a table by hand

\n
TestTest
' + '

User is writing a table by hand

\n
TestTest
' ) })