File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1759,20 +1759,23 @@ TEST(Hover, PresentRulers) {
1759
1759
HI.Value = " val" ;
1760
1760
HI.Definition = " def" ;
1761
1761
1762
- EXPECT_EQ (HI. present (). asMarkdown (), R"md( ### variable `foo`
1762
+ llvm::StringRef ExpectedMarkdown = R"md( ### variable `foo`
1763
1763
1764
1764
---
1765
1765
Value \= `val`
1766
1766
1767
1767
---
1768
1768
```cpp
1769
1769
def
1770
- ```)md" );
1771
- EXPECT_EQ (HI.present ().asPlainText (), R"pt( variable foo
1770
+ ```)md" ;
1771
+ EXPECT_EQ (HI.present ().asMarkdown (), ExpectedMarkdown);
1772
+
1773
+ llvm::StringRef ExpectedPlaintext = R"pt( variable foo
1772
1774
1773
1775
Value = val
1774
1776
1775
- def)pt" );
1777
+ def)pt" ;
1778
+ EXPECT_EQ (HI.present ().asPlainText (), ExpectedPlaintext);
1776
1779
}
1777
1780
1778
1781
TEST (Hover, ExprTests) {
You can’t perform that action at this time.
0 commit comments