History

fix CI (#450)

Sebastian Thiel committed 4 years ago

Commit 6565b971 parent 52e958d1 file · +6 −0Browse files

Unified · Split

git-command/tests/command.rs+6−0
@@ -44,7 +44,10 @@ mod spawn { · 43 unmodified lines
44 .spawn()?44 .spawn()?
45 .wait_with_output()?;45 .wait_with_output()?;
46 assert!(out.status.success());46 assert!(out.status.success());
47 #[cfg(not(windows))]
47 assert_eq!(out.stdout.as_bstr(), "1\n");48 assert_eq!(out.stdout.as_bstr(), "1\n");
49 #[cfg(windows)]
50 assert_eq!(out.stdout.as_bstr(), "1\r\n");
48 Ok(())51 Ok(())
49 }52 }
50 53
@@ -57,7 +60,10 @@ mod spawn { · 6 unmodified lines
57 .spawn()?60 .spawn()?
58 .wait_with_output()?;61 .wait_with_output()?;
59 assert!(out.status.success());62 assert!(out.status.success());
63 #[cfg(not(windows))]
60 assert_eq!(out.stdout.as_bstr(), "1 2\n");64 assert_eq!(out.stdout.as_bstr(), "1 2\n");
65 #[cfg(windows)]
66 assert_eq!(out.stdout.as_bstr(), "1 2\r\n");
61 Ok(())67 Ok(())
62 }68 }
63 }69 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t