mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Rearrange where usize -> u64 conversions happen
This commit is contained in:
parent
ca8f83b896
commit
b2ce7e5fcf
4 changed files with 35 additions and 20 deletions
|
@ -965,7 +965,7 @@ fn str_from_utf8_range_order_does_not_matter() {
|
|||
bytes = Str.toUtf8 "hello"
|
||||
when Str.fromUtf8Range bytes { start: 1, count: 3 } is
|
||||
Ok utf8String -> utf8String
|
||||
_ -> ""
|
||||
Err _ -> "Str.fromUtf8Range returned Err instead of Ok!"
|
||||
"#
|
||||
),
|
||||
RocStr::from("ell"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue