mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-03 06:02:54 +00:00
fix clippy unnecessary hashes
This commit is contained in:
parent
5d98783cf2
commit
1126f85b5a
21 changed files with 4158 additions and 4158 deletions
|
|
@ -272,11 +272,11 @@ mod test_parse {
|
|||
|
||||
let arena = Bump::new();
|
||||
let src = indoc!(
|
||||
r#"
|
||||
r"
|
||||
foo = \list ->
|
||||
isTest = \_ -> 5
|
||||
List.map list isTest
|
||||
"#
|
||||
"
|
||||
);
|
||||
let actual = module_defs()
|
||||
.parse(&arena, State::new(src.as_bytes()), 0)
|
||||
|
|
@ -295,12 +295,12 @@ mod test_parse {
|
|||
|
||||
// highlights a problem with the else branch demanding a newline after its expression
|
||||
let src = indoc!(
|
||||
r#"
|
||||
r"
|
||||
main =
|
||||
v = \y -> if x then y else z
|
||||
|
||||
1
|
||||
"#
|
||||
"
|
||||
);
|
||||
|
||||
let state = State::new(src.as_bytes());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue