@@ -50,7 +50,7 @@ test('mdxExpressionFromMarkdown()', async function (t) {
50
50
)
51
51
52
52
await t . test (
53
- 'should support a flow expression (agnostic)' ,
53
+ 'should support an indented flow expression (agnostic)' ,
54
54
async function ( ) {
55
55
assert . deepEqual (
56
56
fromMarkdown ( '{\n 1 + 1\n}' , {
@@ -62,7 +62,7 @@ test('mdxExpressionFromMarkdown()', async function (t) {
62
62
children : [
63
63
{
64
64
type : 'mdxFlowExpression' ,
65
- value : '\n 1 + 1\n' ,
65
+ value : '\n1 + 1\n' ,
66
66
position : {
67
67
start : { line : 1 , column : 1 , offset : 0 } ,
68
68
end : { line : 3 , column : 2 , offset : 11 }
@@ -467,7 +467,7 @@ test('mdxExpressionToMarkdown()', async function (t) {
467
467
} ,
468
468
{ extensions : [ mdxExpressionToMarkdown ( ) ] }
469
469
) ,
470
- '{a + b}\n\n{\nc +\n1 \n}\n\n{}\n\nd\n'
470
+ '{a + b}\n\n{\n c +\n 1 \n}\n\n{}\n\nd\n'
471
471
)
472
472
} )
473
473
@@ -516,7 +516,7 @@ test('mdxExpressionToMarkdown()', async function (t) {
516
516
517
517
test ( 'roundtrip' , async function ( t ) {
518
518
await t . test (
519
- 'should *not* strip superfluous whitespace depending on the opening prefix, when roundtripping expressions (flow)' ,
519
+ 'should strip superfluous whitespace depending on the opening prefix, when roundtripping expressions (flow)' ,
520
520
async function ( ) {
521
521
assert . deepEqual (
522
522
toMarkdown (
@@ -526,7 +526,7 @@ test('roundtrip', async function (t) {
526
526
} ) ,
527
527
{ extensions : [ mdxExpressionToMarkdown ( ) ] }
528
528
) ,
529
- '{`\n a\n `}\n'
529
+ '{`\n a\n `}\n'
530
530
)
531
531
}
532
532
)
0 commit comments