cargo fmt

This commit is contained in:
Chelsea Troy 2021-12-01 18:38:51 -06:00
parent 0e5f82526a
commit 2eefe9ff6d
2 changed files with 22 additions and 23 deletions

View file

@ -351,30 +351,30 @@ fn u8_hex_int_alias() {
f
"#
),
0xA,
u8
);
}
#[test]
fn character_literal() {
assert_evals_to!(
indoc!(
r#"
x = 'A'
x
"#
),
65,
u32
),
0xA,
u8
);
}
#[test]
fn dec_float_alias() {
assert_evals_to!(
fn character_literal() {
assert_evals_to!(
indoc!(
r#"
x = 'A'
x
"#
),
65,
u32
);
}
#[test]
fn dec_float_alias() {
assert_evals_to!(
indoc!(
r#"
x : Dec

View file

@ -1082,9 +1082,8 @@ fn format_category<'b>(
alloc.text(" which was of type:"),
),
Character => (
alloc.concat(vec![this_is, alloc.text(" a character")
]),
alloc.text(" of type:")
alloc.concat(vec![this_is, alloc.text(" a character")]),
alloc.text(" of type:"),
),
Lambda => (
alloc.concat(vec![this_is, alloc.text(" an anonymous function")]),