Fix test expectations for %diff documentation.

This commit is contained in:
Richard Smith 2021-03-30 17:47:47 -07:00
parent f59ba0849f
commit 9eef0fae2b
1 changed files with 8 additions and 2 deletions

View File

@ -13,8 +13,14 @@ def MySubNested : TextSubstitution<"%sub{MyGoodBad}1 %sub{MyKinds}2 are %sub{MyG
let Group = MyGroup in {
// CHECK: |:warning:`warning:` |nbsp| :diagtext:`this is my diff text`|
// CHECK-NEXT: +-----------------------------------------------------------+
// CHECK: |:warning:`warning:` |nbsp| |+--------------------------------------------------------------------+|
// CHECK-NEXT: | ||+------------------------------------------------------------------+||
// CHECK-NEXT: | |||:placeholder:`A` |nbsp| :diagtext:`is not` |nbsp| :placeholder:`B`|||
// CHECK-NEXT: | ||+------------------------------------------------------------------+||
// CHECK-NEXT: | |+--------------------------------------------------------------------+|
// CHECK-NEXT: | ||:diagtext:`this is my diff text` ||
// CHECK-NEXT: | |+--------------------------------------------------------------------+|
// CHECK-NEXT: +---------------------------+----------------------------------------------------------------------+
def CheckDiff : Warning<"%diff{$ is not $|this is my diff text}0,1">;