fixed typos & formatting

This commit is contained in:
Niklas Kapelle 2025-07-28 21:07:27 +02:00
parent 1a81ce8376
commit 7b110a43b4
Signed by: niklas
GPG Key ID: 4EB651B36D841D16
2 changed files with 2 additions and 3 deletions

View File

@ -25,10 +25,9 @@ fn byte_read_content() {
#[test]
fn byte_parse_string() {
let file: &[u8] = Assets::get("file1.txt").expect("Can't find file");
let string = str::from_utf8(file).expect("Failed to parse file");
println!("{string}");
assert_eq!(string, "file1");
}
#[test]