Fix cargo fmt

This commit is contained in:
Jared Ramirez 2020-11-06 17:03:21 -06:00
parent 11fad7a27d
commit 14fed8e6a6
3 changed files with 7 additions and 6 deletions

View file

@ -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]

View file

@ -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,
}; };

View file

@ -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
);
} }
} }