mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
Fix cargo fmt
This commit is contained in:
parent
11fad7a27d
commit
14fed8e6a6
3 changed files with 7 additions and 6 deletions
|
@ -112,10 +112,7 @@ mod repl_eval {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn str_count_graphemes() {
|
fn str_count_graphemes() {
|
||||||
expect_success(
|
expect_success("Str.concat \"å🤔\"", "2 : Int");
|
||||||
"Str.concat \"å🤔\"",
|
|
||||||
"2 : Int",
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use crate::llvm::build::{ptr_from_symbol, Env, InPlace, Scope, call_bitcode_fn};
|
use crate::llvm::build::{call_bitcode_fn, ptr_from_symbol, Env, InPlace, Scope};
|
||||||
use crate::llvm::build_list::{
|
use crate::llvm::build_list::{
|
||||||
allocate_list, build_basic_phi2, empty_list, incrementing_elem_loop, load_list_ptr, store_list,
|
allocate_list, build_basic_phi2, empty_list, incrementing_elem_loop, load_list_ptr, store_list,
|
||||||
};
|
};
|
||||||
|
|
|
@ -210,6 +210,10 @@ mod gen_str {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn str_count_graphemes_big_str() {
|
fn str_count_graphemes_big_str() {
|
||||||
assert_evals_to!(r#"Str.countGraphemes "6🤔å🤔e¥🤔çppkd🙃1jdal🦯asdfa∆ltråø˚waia8918.,🏅jjc""#, 45, usize);
|
assert_evals_to!(
|
||||||
|
r#"Str.countGraphemes "6🤔å🤔e¥🤔çppkd🙃1jdal🦯asdfa∆ltråø˚waia8918.,🏅jjc""#,
|
||||||
|
45,
|
||||||
|
usize
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue