mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Clarify and comment test.
This commit is contained in:
parent
edd8877865
commit
ff6e08daf6
1 changed files with 5 additions and 9 deletions
|
@ -123,6 +123,9 @@ mod test_format {
|
||||||
"#
|
"#
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Tests fail! Comment disappears
|
||||||
|
//
|
||||||
// #[test]
|
// #[test]
|
||||||
// fn string_with_comment_behind() {
|
// fn string_with_comment_behind() {
|
||||||
// expr_formats_same(indoc!(
|
// expr_formats_same(indoc!(
|
||||||
|
@ -134,20 +137,13 @@ mod test_format {
|
||||||
//
|
//
|
||||||
// #[test]
|
// #[test]
|
||||||
// fn string_with_comment_underneath() {
|
// fn string_with_comment_underneath() {
|
||||||
// expr_formats_to(
|
// expr_formats_same(
|
||||||
// indoc!(
|
// indoc!(
|
||||||
// r#"
|
// r#"
|
||||||
// "a"
|
// "a"
|
||||||
// # b
|
// # b
|
||||||
// "#
|
// "#
|
||||||
// ), indoc!(
|
// ));
|
||||||
// r#"
|
|
||||||
// "a"
|
|
||||||
//
|
|
||||||
// # b
|
|
||||||
// "#
|
|
||||||
// )
|
|
||||||
// );
|
|
||||||
// }
|
// }
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue