Skip to content

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
baumgaertnerd committed Apr 2, 2021
1 parent 4df64b4 commit e42d876
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 3 deletions.
11 changes: 10 additions & 1 deletion src/test/suite/fixtures/expected/issues.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,13 @@ <h3>third header</h3>
<a href='www.example.com'>first link</a>
<a href='www.example.com'>second link</a>
</p>
<p>[first] [second]</p>
<p>[first] [second]</p>
<p>
<a href='https://github.com/denco/vscode-confluence-markup/issues/32'>#32</a>: Support to {color:}</p>
<p>
<span style='color:cyan;'>cyan</span>
</p>
<p>
<span style='color:rgb(222,150,212);'>rgb(222,150,212)</span>or
<span style='color:#12FFFE;'>hex#12FFFE</span>
</p>
13 changes: 13 additions & 0 deletions src/test/suite/fixtures/expected/scoped/colortext.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,17 @@
</p>
<p>
<span style='color:green;'>look ma, green text!</span>
</p>
<p>
<span style='color:red;'>red</span>
<span style='color:yellow;'>yellow</span>
<span style='color:green;'>green</span>
</p>
<p>
<span style='color:rgb(202,200,100);'>rgb(202,200,100)</span>or
<span style='color:rgb(200,100,212);'>rgb(12,200,112)</span>
</p>
<p>
<span style='color:#12FFFE;'>hex#12FFFE</span>or
<span style='color:#51F02E;'>hex#51F02E</span>
</p>
6 changes: 6 additions & 0 deletions src/test/suite/fixtures/testfiles/nix/issues.confluence
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,9 @@ yet _another_ line
[first link|www.example.com] [second link|www.example.com]

[first\] [second\]

[#32|https://github.com/denco/vscode-confluence-markup/issues/32]: Support to {color:}

{color:cyan}cyan{color}

{color:rgb(222,150,212)}rgb(222,150,212){color} or {color:#12FFFE}hex#12FFFE{color}
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{color:red}look ma, red text!{color}
{color:blue}look ma, blue text!{color}
{color:green}look ma, green text!{color}
{color:green}look ma, green text!{color}

{color:red}red{color}{color:yellow}yellow{color}{color:green}green{color}

{color:rgb(202,200,100)}rgb(202,200,100){color} or {color:rgb(200,100,212)}rgb(12,200,112){color}
{color:#12FFFE}hex#12FFFE{color} or {color:#51F02E}hex#51F02E{color}
6 changes: 6 additions & 0 deletions src/test/suite/fixtures/testfiles/win/issues.confluence
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,9 @@ yet _another_ line
[first link|www.example.com] [second link|www.example.com]

[first\] [second\]

[#32|https://github.com/denco/vscode-confluence-markup/issues/32]: Support to {color:}

{color:cyan}cyan{color}

{color:rgb(222,150,212)}rgb(222,150,212){color} or {color:#12FFFE}hex#12FFFE{color}
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{color:red}look ma, red text!{color}
{color:blue}look ma, blue text!{color}
{color:green}look ma, green text!{color}
{color:green}look ma, green text!{color}

{color:red}red{color}{color:yellow}yellow{color}{color:green}green{color}

{color:rgb(202,200,100)}rgb(202,200,100){color} or {color:rgb(200,100,212)}rgb(12,200,112){color}
{color:#12FFFE}hex#12FFFE{color} or {color:#51F02E}hex#51F02E{color}

0 comments on commit e42d876

Please sign in to comment.