diff options
| author | Shulhan <ms@kilabit.info> | 2019-01-29 21:32:01 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2019-01-29 21:35:08 +0700 |
| commit | da2558e377c42aeaaca5bf8f39396ca2845cc94b (patch) | |
| tree | dc9879ad4ea5fc3dcc82d37c2cf4337df3360492 /lib/git/git_test.go | |
| parent | aaaaaaf72a416cf0b85beec8db9e364f9868370e (diff) | |
| download | pakakeh.go-da2558e377c42aeaaca5bf8f39396ca2845cc94b.tar.xz | |
lib/git: fix testdata and test input
Somehow, the bare repository in testdata/beku_test is not detected as
repository by git version 2.20.1.495.gaa96b0ce6b.
Diffstat (limited to 'lib/git/git_test.go')
| -rw-r--r-- | lib/git/git_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/git_test.go b/lib/git/git_test.go index 78016ee0..b05c9ace 100644 --- a/lib/git/git_test.go +++ b/lib/git/git_test.go @@ -59,7 +59,7 @@ func TestCheckoutRevision(t *testing.T) { desc: "With empty revision", }, { desc: "With unknown revision", - branch: "beku", + branch: "master", revision: "xxxyyyzzz", expErr: "CheckoutRevision: exit status 128", expStderr: `fatal: ambiguous argument 'xxxyyyzzz': unknown revision or path not in the working tree. @@ -68,7 +68,7 @@ Use '--' to separate paths from revisions, like this: `, }, { desc: "With valid revision", - branch: "beku", + branch: "master", revision: "d6ad9da", }} |
