| |
@@ -1,5 +1,17 @@
|
| |
+ From c52c7ba741fc0d59240e075a2839e24e589642bf Mon Sep 17 00:00:00 2001
|
| |
+ From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
| |
+ Date: Tue, 26 Feb 2019 05:29:14 -0500
|
| |
+ Subject: [PATCH] Skip repo tests.
|
| |
+
|
| |
+ These tests expect gitmap to be a real clone instead of an archive.
|
| |
+
|
| |
+ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
| |
+ ---
|
| |
+ gitmap_test.go | 8 ++++----
|
| |
+ 1 file changed, 4 insertions(+), 4 deletions(-)
|
| |
+
|
| |
diff --git a/gitmap_test.go b/gitmap_test.go
|
| |
- index df14c76..3c5c018 100644
|
| |
+ index d8202f7..d91e2a1 100644
|
| |
--- a/gitmap_test.go
|
| |
+++ b/gitmap_test.go
|
| |
@@ -32,7 +32,7 @@ func TestMap(t *testing.T) {
|
| |
@@ -11,7 +23,7 @@
|
| |
}
|
| |
|
| |
gm = gr.Files
|
| |
- @@ -101,7 +101,7 @@ func TestActiveRevision(t *testing.T) {
|
| |
+ @@ -121,7 +121,7 @@ func TestActiveRevision(t *testing.T) {
|
| |
)
|
| |
|
| |
if gr, err = Map(repository, "HEAD"); err != nil {
|
| |
@@ -20,7 +32,7 @@
|
| |
}
|
| |
|
| |
gm = gr.Files
|
| |
- @@ -137,7 +137,7 @@ func TestEncodeJSON(t *testing.T) {
|
| |
+ @@ -157,7 +157,7 @@ func TestEncodeJSON(t *testing.T) {
|
| |
)
|
| |
|
| |
if gr, err = Map(repository, revision); err != nil {
|
| |
@@ -29,7 +41,7 @@
|
| |
}
|
| |
|
| |
gm = gr.Files
|
| |
- @@ -184,7 +184,7 @@ func TestTopLevelAbsPath(t *testing.T) {
|
| |
+ @@ -204,7 +204,7 @@ func TestTopLevelAbsPath(t *testing.T) {
|
| |
)
|
| |
|
| |
if gr, err = Map(repository, revision); err != nil {
|
| |
@@ -37,4 +49,7 @@
|
| |
+ t.Skip(err)
|
| |
}
|
| |
|
| |
- expected := "github.com/bep/gitmap"
|
| |
+ expected := "/bep/gitmap"
|
| |
+ --
|
| |
+ 2.21.1
|
| |
+
|
| |