mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-24 08:52:21 +02:00
add annotated tag integration test
This commit is contained in:
parent
e5f0301c66
commit
517dab7d05
1
test/integration/tags4/expected/.git_keep/COMMIT_EDITMSG
Normal file
1
test/integration/tags4/expected/.git_keep/COMMIT_EDITMSG
Normal file
@ -0,0 +1 @@
|
||||
file1
|
1
test/integration/tags4/expected/.git_keep/HEAD
Normal file
1
test/integration/tags4/expected/.git_keep/HEAD
Normal file
@ -0,0 +1 @@
|
||||
ref: refs/heads/master
|
8
test/integration/tags4/expected/.git_keep/config
Normal file
8
test/integration/tags4/expected/.git_keep/config
Normal file
@ -0,0 +1,8 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
[user]
|
||||
email = CI@example.com
|
||||
name = CI
|
1
test/integration/tags4/expected/.git_keep/description
Normal file
1
test/integration/tags4/expected/.git_keep/description
Normal file
@ -0,0 +1 @@
|
||||
Unnamed repository; edit this file 'description' to name the repository.
|
BIN
test/integration/tags4/expected/.git_keep/index
Normal file
BIN
test/integration/tags4/expected/.git_keep/index
Normal file
Binary file not shown.
6
test/integration/tags4/expected/.git_keep/info/exclude
Normal file
6
test/integration/tags4/expected/.git_keep/info/exclude
Normal file
@ -0,0 +1,6 @@
|
||||
# git ls-files --others --exclude-from=.git/info/exclude
|
||||
# Lines that start with '#' are comments.
|
||||
# For a project mostly in C, the following would be a good set of
|
||||
# exclude patterns (uncomment them if you want to use them):
|
||||
# *.[oa]
|
||||
# *~
|
2
test/integration/tags4/expected/.git_keep/logs/HEAD
Normal file
2
test/integration/tags4/expected/.git_keep/logs/HEAD
Normal file
@ -0,0 +1,2 @@
|
||||
0000000000000000000000000000000000000000 f04e94a59e6159acf554fc1268742df10fe6b0d3 CI <CI@example.com> 1631476697 -0300 commit (initial): file0
|
||||
f04e94a59e6159acf554fc1268742df10fe6b0d3 3a64c1649510c0dcaca3815291e3d43980f1bb99 CI <CI@example.com> 1631476697 -0300 commit: file1
|
@ -0,0 +1,2 @@
|
||||
0000000000000000000000000000000000000000 f04e94a59e6159acf554fc1268742df10fe6b0d3 CI <CI@example.com> 1631476697 -0300 commit (initial): file0
|
||||
f04e94a59e6159acf554fc1268742df10fe6b0d3 3a64c1649510c0dcaca3815291e3d43980f1bb99 CI <CI@example.com> 1631476697 -0300 commit: file1
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
xŒA
|
||||
Â0E]çã”™&Mºê1&Ó1(†–6½½ÑÍç-Þû•3P7–ôT©`Ù;!ïbO(8Û�ú.’ÚÙÙ8à�RŠÑÔϪ K)�jjûà6ô£¬Œ\Æé¦o.ëKÏM»yK.ø€NhÍ?+ºïœõh¾š'i
|
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
x+)JMU03c040031QHヒフI5`ーアコイ燹ヨカwチ�w.ス��モ[H
|
||||
矢y�5�来ミ(桍ァ^-ンW(x9
|
Binary file not shown.
Binary file not shown.
1
test/integration/tags4/expected/.git_keep/packed-refs
Normal file
1
test/integration/tags4/expected/.git_keep/packed-refs
Normal file
@ -0,0 +1 @@
|
||||
# pack-refs with: peeled fully-peeled sorted
|
@ -0,0 +1 @@
|
||||
3a64c1649510c0dcaca3815291e3d43980f1bb99
|
@ -0,0 +1 @@
|
||||
db03048dbacea165536b49c030c9aaca108cc571
|
1
test/integration/tags4/expected/file0
Normal file
1
test/integration/tags4/expected/file0
Normal file
@ -0,0 +1 @@
|
||||
test0
|
1
test/integration/tags4/expected/file1
Normal file
1
test/integration/tags4/expected/file1
Normal file
@ -0,0 +1 @@
|
||||
test1
|
1
test/integration/tags4/recording.json
Normal file
1
test/integration/tags4/recording.json
Normal file
@ -0,0 +1 @@
|
||||
{"KeyEvents":[{"Timestamp":928,"Mod":0,"Key":256,"Ch":52},{"Timestamp":1864,"Mod":0,"Key":256,"Ch":84},{"Timestamp":2752,"Mod":0,"Key":258,"Ch":0},{"Timestamp":2936,"Mod":0,"Key":13,"Ch":13},{"Timestamp":5085,"Mod":0,"Key":256,"Ch":97},{"Timestamp":5306,"Mod":0,"Key":256,"Ch":116},{"Timestamp":5392,"Mod":0,"Key":256,"Ch":97},{"Timestamp":5526,"Mod":0,"Key":256,"Ch":103},{"Timestamp":5754,"Mod":0,"Key":256,"Ch":49},{"Timestamp":5983,"Mod":0,"Key":13,"Ch":13},{"Timestamp":7385,"Mod":0,"Key":256,"Ch":116},{"Timestamp":7489,"Mod":0,"Key":256,"Ch":97},{"Timestamp":7808,"Mod":0,"Key":256,"Ch":103},{"Timestamp":7911,"Mod":0,"Key":256,"Ch":32},{"Timestamp":8171,"Mod":0,"Key":256,"Ch":109},{"Timestamp":8240,"Mod":0,"Key":256,"Ch":101},{"Timestamp":8404,"Mod":0,"Key":256,"Ch":115},{"Timestamp":8572,"Mod":0,"Key":256,"Ch":115},{"Timestamp":8656,"Mod":0,"Key":256,"Ch":97},{"Timestamp":8749,"Mod":0,"Key":256,"Ch":103},{"Timestamp":8832,"Mod":0,"Key":256,"Ch":101},{"Timestamp":10162,"Mod":0,"Key":256,"Ch":33},{"Timestamp":10432,"Mod":0,"Key":13,"Ch":13},{"Timestamp":11766,"Mod":0,"Key":256,"Ch":106},{"Timestamp":13092,"Mod":0,"Key":256,"Ch":84},{"Timestamp":14177,"Mod":0,"Key":258,"Ch":0},{"Timestamp":14482,"Mod":0,"Key":13,"Ch":13},{"Timestamp":15660,"Mod":0,"Key":256,"Ch":97},{"Timestamp":15783,"Mod":0,"Key":256,"Ch":116},{"Timestamp":15857,"Mod":0,"Key":256,"Ch":97},{"Timestamp":15991,"Mod":0,"Key":256,"Ch":103},{"Timestamp":17243,"Mod":0,"Key":256,"Ch":50},{"Timestamp":17536,"Mod":0,"Key":13,"Ch":13},{"Timestamp":19574,"Mod":0,"Key":256,"Ch":115},{"Timestamp":19641,"Mod":0,"Key":256,"Ch":101},{"Timestamp":19834,"Mod":0,"Key":256,"Ch":99},{"Timestamp":19863,"Mod":0,"Key":256,"Ch":111},{"Timestamp":19958,"Mod":0,"Key":256,"Ch":110},{"Timestamp":20013,"Mod":0,"Key":256,"Ch":100},{"Timestamp":20092,"Mod":0,"Key":256,"Ch":32},{"Timestamp":20181,"Mod":0,"Key":256,"Ch":109},{"Timestamp":20265,"Mod":0,"Key":256,"Ch":101},{"Timestamp":20436,"Mod":0,"Key":256,"Ch":115},{"Timestamp":20590,"Mod":0,"Key":256,"Ch":115},{"Timestamp":20675,"Mod":0,"Key":256,"Ch":97},{"Timestamp":20706,"Mod":0,"Key":256,"Ch":103},{"Timestamp":20805,"Mod":0,"Key":256,"Ch":101},{"Timestamp":21237,"Mod":0,"Key":13,"Ch":13},{"Timestamp":22701,"Mod":0,"Key":256,"Ch":51},{"Timestamp":23066,"Mod":0,"Key":256,"Ch":93},{"Timestamp":23235,"Mod":0,"Key":256,"Ch":93},{"Timestamp":24842,"Mod":0,"Key":256,"Ch":106},{"Timestamp":25574,"Mod":0,"Key":256,"Ch":100},{"Timestamp":26166,"Mod":0,"Key":13,"Ch":13},{"Timestamp":27722,"Mod":0,"Key":256,"Ch":113}],"ResizeEvents":[{"Timestamp":0,"Width":211,"Height":42}]}
|
16
test/integration/tags4/setup.sh
Normal file
16
test/integration/tags4/setup.sh
Normal file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $1
|
||||
|
||||
git init
|
||||
|
||||
git config user.email "CI@example.com"
|
||||
git config user.name "CI"
|
||||
|
||||
echo test0 > file0
|
||||
git add .
|
||||
git commit -am file0
|
||||
|
||||
echo test1 > file1
|
||||
git add .
|
||||
git commit -am file1
|
1
test/integration/tags4/test.json
Normal file
1
test/integration/tags4/test.json
Normal file
@ -0,0 +1 @@
|
||||
{ "description": "annotated tag CRUD", "speed": 5 }
|
Loading…
Reference in New Issue
Block a user