diff --git a/cli/tests/repl_eval.rs b/cli/tests/repl_eval.rs index 5142c728d0..0075650ae7 100644 --- a/cli/tests/repl_eval.rs +++ b/cli/tests/repl_eval.rs @@ -112,10 +112,7 @@ mod repl_eval { #[test] fn str_count_graphemes() { - expect_success( - "Str.concat \"å🤔\"", - "2 : Int", - ); + expect_success("Str.concat \"å🤔\"", "2 : Int"); } #[test] diff --git a/compiler/gen/src/llvm/build_str.rs b/compiler/gen/src/llvm/build_str.rs index 32e71ccc95..de606628e3 100644 --- a/compiler/gen/src/llvm/build_str.rs +++ b/compiler/gen/src/llvm/build_str.rs @@ -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::{ allocate_list, build_basic_phi2, empty_list, incrementing_elem_loop, load_list_ptr, store_list, }; diff --git a/compiler/gen/tests/gen_str.rs b/compiler/gen/tests/gen_str.rs index ccc2b57320..39301ec3b1 100644 --- a/compiler/gen/tests/gen_str.rs +++ b/compiler/gen/tests/gen_str.rs @@ -210,6 +210,10 @@ mod gen_str { #[test] 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 + ); } }