mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Misc cleaning up
This commit is contained in:
parent
a19287f657
commit
a00ed8a1ca
3 changed files with 6 additions and 5 deletions
|
@ -122,6 +122,7 @@ pub enum ReportText {
|
||||||
/// The documentation for this symbol.
|
/// The documentation for this symbol.
|
||||||
Docs(Symbol),
|
Docs(Symbol),
|
||||||
|
|
||||||
|
/// Many ReportText that should be concatenated together.
|
||||||
Batch(Vec<ReportText>),
|
Batch(Vec<ReportText>),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -417,7 +417,7 @@ mod test_report {
|
||||||
isDisabled = \user -> user.isAdmin
|
isDisabled = \user -> user.isAdmin
|
||||||
|
|
||||||
theAdmin
|
theAdmin
|
||||||
|> isDabled
|
|> isDisabled
|
||||||
"#
|
"#
|
||||||
),
|
),
|
||||||
to_simple_report(Region(roc_region::all::Region {
|
to_simple_report(Region(roc_region::all::Region {
|
||||||
|
@ -431,7 +431,7 @@ mod test_report {
|
||||||
<cyan>1<reset><magenta> ┆<reset> <white>isDisabled = \user -> user.isAdmin<reset>
|
<cyan>1<reset><magenta> ┆<reset> <white>isDisabled = \user -> user.isAdmin<reset>
|
||||||
<cyan>2<reset><magenta> ┆<reset>
|
<cyan>2<reset><magenta> ┆<reset>
|
||||||
<cyan>3<reset><magenta> ┆<reset> <white>theAdmin<reset>
|
<cyan>3<reset><magenta> ┆<reset> <white>theAdmin<reset>
|
||||||
<cyan>4<reset><magenta> ┆<reset> <white> |> isDabled<reset>"#
|
<cyan>4<reset><magenta> ┆<reset> <white> |> isDisabled<reset>"#
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue