mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
rename divFloor to divTrunc
This commit is contained in:
parent
000ec79106
commit
6a3fd3a607
13 changed files with 36 additions and 36 deletions
|
@ -1050,7 +1050,7 @@ fn gen_div_checked_i64() {
|
|||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
when Num.divFloorChecked 1000 10 is
|
||||
when Num.divTruncChecked 1000 10 is
|
||||
Ok val -> val
|
||||
Err _ -> -1
|
||||
"#
|
||||
|
@ -1066,7 +1066,7 @@ fn gen_div_checked_by_zero_i64() {
|
|||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
when Num.divFloorChecked 1000 0 is
|
||||
when Num.divTruncChecked 1000 0 is
|
||||
Err DivByZero -> 99
|
||||
_ -> -24
|
||||
"#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue