mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Fix markdown tests
This commit is contained in:
parent
ac28309b3b
commit
ea9d215fa3
@ -5,5 +5,5 @@ rust:
|
|||||||
- nightly
|
- nightly
|
||||||
script:
|
script:
|
||||||
- cargo check --all-features
|
- cargo check --all-features
|
||||||
- cargo build --verbose --features "pancurses-backend termion-backend"
|
- cargo build --verbose --features "markdown pancurses-backend termion-backend"
|
||||||
- cargo test --verbose --features "pancurses-backend termion-backend"
|
- cargo test --verbose --features "markdown pancurses-backend termion-backend"
|
||||||
|
@ -160,34 +160,42 @@ I *really* love __Cursive__!";
|
|||||||
&[
|
&[
|
||||||
Span {
|
Span {
|
||||||
content: "# ",
|
content: "# ",
|
||||||
|
width: 2,
|
||||||
attr: &Style::none(),
|
attr: &Style::none(),
|
||||||
},
|
},
|
||||||
Span {
|
Span {
|
||||||
content: "Attention",
|
content: "Attention",
|
||||||
|
width: 9,
|
||||||
attr: &Style::none(),
|
attr: &Style::none(),
|
||||||
},
|
},
|
||||||
Span {
|
Span {
|
||||||
content: "\n\n",
|
content: "\n\n",
|
||||||
|
width: 0,
|
||||||
attr: &Style::none(),
|
attr: &Style::none(),
|
||||||
},
|
},
|
||||||
Span {
|
Span {
|
||||||
content: "I ",
|
content: "I ",
|
||||||
|
width: 2,
|
||||||
attr: &Style::none(),
|
attr: &Style::none(),
|
||||||
},
|
},
|
||||||
Span {
|
Span {
|
||||||
content: "really",
|
content: "really",
|
||||||
|
width: 6,
|
||||||
attr: &Style::from(Effect::Italic),
|
attr: &Style::from(Effect::Italic),
|
||||||
},
|
},
|
||||||
Span {
|
Span {
|
||||||
content: " love ",
|
content: " love ",
|
||||||
|
width: 6,
|
||||||
attr: &Style::none(),
|
attr: &Style::none(),
|
||||||
},
|
},
|
||||||
Span {
|
Span {
|
||||||
content: "Cursive",
|
content: "Cursive",
|
||||||
|
width: 7,
|
||||||
attr: &Style::from(Effect::Bold),
|
attr: &Style::from(Effect::Bold),
|
||||||
},
|
},
|
||||||
Span {
|
Span {
|
||||||
content: "!",
|
content: "!",
|
||||||
|
width: 1,
|
||||||
attr: &Style::none(),
|
attr: &Style::none(),
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user