mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
add List.sort test
This commit is contained in:
parent
0a2a43546c
commit
e2b7056e20
2 changed files with 33 additions and 0 deletions
|
@ -1397,3 +1397,14 @@ fn list_map_closure_owns() {
|
|||
"#
|
||||
)
|
||||
}
|
||||
|
||||
#[mono_test]
|
||||
fn list_sort_asc() {
|
||||
indoc!(
|
||||
r#"
|
||||
app "test" provides [ out ] to "./platform"
|
||||
|
||||
out = List.sortAsc [ 4,3,2,1 ]
|
||||
"#
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue