Skip to content

Commit 42f9256

Browse files
Test
1 parent 8d99ec6 commit 42f9256

File tree

1 file changed

+4
-1
lines changed
  • crates/atuin-client/src/import

1 file changed

+4
-1
lines changed

crates/atuin-client/src/import/zsh.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,15 @@ mod test {
196196
let bytes = r": 1613322469:0;cargo install atuin
197197
: 1613322469:10;cargo install atuin; \
198198
cargo update
199+
: 1613322469:10;cargo install atuin; \\
200+
cargo update
199201
: 1613322469:10;cargo :b̷i̶t̴r̵o̴t̴ ̵i̷s̴ ̷r̶e̵a̸l̷
200202
"
201203
.as_bytes()
202204
.to_owned();
203205

204206
let mut zsh = Zsh { bytes };
205-
assert_eq!(zsh.entries().await.unwrap(), 4);
207+
assert_eq!(zsh.entries().await.unwrap(), 6);
206208

207209
let mut loader = TestLoader::default();
208210
zsh.load(&mut loader).await.unwrap();
@@ -212,6 +214,7 @@ cargo update
212214
[
213215
"cargo install atuin",
214216
"cargo install atuin; \\\ncargo update",
217+
"cargo install atuin; \\\ncargo update",
215218
"cargo :b̷i̶t̴r̵o̴t̴ ̵i̷s̴ ̷r̶e̵a̸l̷",
216219
],
217220
);

0 commit comments

Comments
 (0)