Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited2b104

Browse files
committed
test: fix ssh key test
1 parent30ef4c5 commited2b104

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/git/commit.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ mod test {
259259

260260
#[cfg(not(target_os ="windows"))]
261261
#[sealed_test]
262-
fncrate_signed_ssh_commit_ok() ->Result<()>{
262+
fncreate_signed_ssh_commit_ok() ->Result<()>{
263263
// Arrange
264264
let crate_dir = std::env::var("CARGO_MANIFEST_DIR")?;
265265

@@ -278,7 +278,7 @@ mod test {
278278
git init;
279279
chmod600 $crate_dir/tests/assets/sshkey;
280280
chmod600 $crate_dir/tests/assets/sshkey.pub;
281-
git config --local user.signingkey"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHsnHukmf4SX31jdbf+aZjH2pvmHwuz7ysxdjErMK+i2";
281+
git config --local user.signingkey$crate_dir/tests/assets/sshkey.pub;
282282
git config --local commit.gpgSigntrue;
283283
git config --local gpg.format ssh;
284284
git config --local gpg.ssh.program ssh-keygen;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp