mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-24 17:23:50 +01:00
Test
This commit is contained in:
parent
8d99ec6017
commit
42f9256987
@ -196,13 +196,15 @@ mod test {
|
||||
let bytes = r": 1613322469:0;cargo install atuin
|
||||
: 1613322469:10;cargo install atuin; \
|
||||
cargo update
|
||||
: 1613322469:10;cargo install atuin; \\
|
||||
cargo update
|
||||
: 1613322469:10;cargo :b̷i̶t̴r̵o̴t̴ ̵i̷s̴ ̷r̶e̵a̸l̷
|
||||
"
|
||||
.as_bytes()
|
||||
.to_owned();
|
||||
|
||||
let mut zsh = Zsh { bytes };
|
||||
assert_eq!(zsh.entries().await.unwrap(), 4);
|
||||
assert_eq!(zsh.entries().await.unwrap(), 6);
|
||||
|
||||
let mut loader = TestLoader::default();
|
||||
zsh.load(&mut loader).await.unwrap();
|
||||
@ -212,6 +214,7 @@ cargo update
|
||||
[
|
||||
"cargo install atuin",
|
||||
"cargo install atuin; \\\ncargo update",
|
||||
"cargo install atuin; \\\ncargo update",
|
||||
"cargo :b̷i̶t̴r̵o̴t̴ ̵i̷s̴ ̷r̶e̵a̸l̷",
|
||||
],
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user