mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Type shenanigans work
This commit is contained in:
parent
c8f6762deb
commit
5115a004ed
4 changed files with 19 additions and 8 deletions
|
@ -1623,11 +1623,11 @@ mod gen_num {
|
|||
|
||||
#[test]
|
||||
fn num_bytes_to_u16_ascii() {
|
||||
assert_evals_to!("Num.bytesToU16 1", 2, usize);
|
||||
assert_evals_to!("Num.bytesToU16 1", 40, u16);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn num_bytes_to_u16_ascii_2() {
|
||||
assert_evals_to!("Num.bytesToU16 0", 1, usize);
|
||||
assert_evals_to!("Num.bytesToU16 0", 40, u16);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue