mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-17 01:42:45 +02:00
working on integration tests working again
This commit is contained in:
@ -197,9 +197,15 @@ func Test() error {
|
||||
record := os.Getenv("RECORD_EVENTS") != ""
|
||||
updateSnapshots := record || os.Getenv("UPDATE_SNAPSHOTS") != ""
|
||||
|
||||
for _, test := range tests[0:1] {
|
||||
selectedTestName := os.Args[1]
|
||||
|
||||
for _, test := range tests {
|
||||
test := test
|
||||
|
||||
if selectedTestName != "" && test.Name != selectedTestName {
|
||||
continue
|
||||
}
|
||||
|
||||
speeds := getTestSpeeds(test.Speed, updateSnapshots)
|
||||
|
||||
for i, speed := range speeds {
|
||||
|
@ -1 +1 @@
|
||||
my commit
|
||||
commit
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
0000000000000000000000000000000000000000 f4473317f8385f84b8054f3e9e9895870aa339bb CI <CI@example.com> 1601981250 +1100 commit (initial): myfile1
|
||||
f4473317f8385f84b8054f3e9e9895870aa339bb 60100545975af038486a0265a786b78c090faa4c CI <CI@example.com> 1601981250 +1100 commit: myfile2
|
||||
60100545975af038486a0265a786b78c090faa4c 7c8c3a30f773b8d25cf9b5f5eccfe1b4cf823069 CI <CI@example.com> 1601981250 +1100 commit: myfile3
|
||||
7c8c3a30f773b8d25cf9b5f5eccfe1b4cf823069 dcb4d7ccb176a17a6ddc2e1a402a28f055947393 CI <CI@example.com> 1601981250 +1100 commit: myfile4
|
||||
dcb4d7ccb176a17a6ddc2e1a402a28f055947393 459260de735f85c64517eef30e6a2d2236f3f920 CI <CI@example.com> 1601981254 +1100 commit: my commit
|
||||
0000000000000000000000000000000000000000 55bf9e2babc63fb5bae4b42c79fb1ddd1f4205fa CI <CI@example.com> 1617579407 +1000 commit (initial): myfile1
|
||||
55bf9e2babc63fb5bae4b42c79fb1ddd1f4205fa e68c1143545a09cac1db6e6f20db13b82b5dc43e CI <CI@example.com> 1617579407 +1000 commit: myfile2
|
||||
e68c1143545a09cac1db6e6f20db13b82b5dc43e ba001a041f64109b238f03550d6a21209bd5d4fc CI <CI@example.com> 1617579407 +1000 commit: myfile3
|
||||
ba001a041f64109b238f03550d6a21209bd5d4fc 6f31cc35ebabdf3fb71759e3d267677e712f737f CI <CI@example.com> 1617579407 +1000 commit: myfile4
|
||||
6f31cc35ebabdf3fb71759e3d267677e712f737f ecc083de4d216847c184c72a639743bba6520d88 CI <CI@example.com> 1617579409 +1000 commit: commit
|
||||
|
@ -1,5 +1,5 @@
|
||||
0000000000000000000000000000000000000000 f4473317f8385f84b8054f3e9e9895870aa339bb CI <CI@example.com> 1601981250 +1100 commit (initial): myfile1
|
||||
f4473317f8385f84b8054f3e9e9895870aa339bb 60100545975af038486a0265a786b78c090faa4c CI <CI@example.com> 1601981250 +1100 commit: myfile2
|
||||
60100545975af038486a0265a786b78c090faa4c 7c8c3a30f773b8d25cf9b5f5eccfe1b4cf823069 CI <CI@example.com> 1601981250 +1100 commit: myfile3
|
||||
7c8c3a30f773b8d25cf9b5f5eccfe1b4cf823069 dcb4d7ccb176a17a6ddc2e1a402a28f055947393 CI <CI@example.com> 1601981250 +1100 commit: myfile4
|
||||
dcb4d7ccb176a17a6ddc2e1a402a28f055947393 459260de735f85c64517eef30e6a2d2236f3f920 CI <CI@example.com> 1601981254 +1100 commit: my commit
|
||||
0000000000000000000000000000000000000000 55bf9e2babc63fb5bae4b42c79fb1ddd1f4205fa CI <CI@example.com> 1617579407 +1000 commit (initial): myfile1
|
||||
55bf9e2babc63fb5bae4b42c79fb1ddd1f4205fa e68c1143545a09cac1db6e6f20db13b82b5dc43e CI <CI@example.com> 1617579407 +1000 commit: myfile2
|
||||
e68c1143545a09cac1db6e6f20db13b82b5dc43e ba001a041f64109b238f03550d6a21209bd5d4fc CI <CI@example.com> 1617579407 +1000 commit: myfile3
|
||||
ba001a041f64109b238f03550d6a21209bd5d4fc 6f31cc35ebabdf3fb71759e3d267677e712f737f CI <CI@example.com> 1617579407 +1000 commit: myfile4
|
||||
6f31cc35ebabdf3fb71759e3d267677e712f737f ecc083de4d216847c184c72a639743bba6520d88 CI <CI@example.com> 1617579409 +1000 commit: commit
|
||||
|
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
x��A
|
||||
�0@Ѯs��ʌ'J\y��L���")���#t�y�S5[˥���*�`��2�R���T</|��%��s��^u�i��4��������=��|�FWBDw�s��O��W�M�3�,�
|
@ -1,2 +0,0 @@
|
||||
x��M
|
||||
�0@a�9E���d�7 "t�c$��-%������[�imm�ٟ�.bK"�%��<�(G��Z#��b�����c4[��խz��0i�4��!x%a��!'(��k5���n��^��.�Ҷ�\���,F@���3"�9�1��On�W��8�v�9w
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
x��M
|
||||
�0F]��2��M@D��ǘN3X0��z{sW<�O�Z�f1�S;J�Ì� E\�;���*/��@hv8H�+��|�W� ��S`G�"�'�s"������=�Î���ӽ|���r���,�H&�3��鴟j�O�ԯ������9�
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
x��A
|
||||
1�a�=E��4M�� "�j���)
|
||||
��
|
||||
�.<������kk���wU +���k�L�O�:Q�5�+��O��l���C��9ӤIR�4������U&�F����0/p���~�mO=��]��p�6���f�#������e);a
|
Binary file not shown.
@ -1 +1 @@
|
||||
459260de735f85c64517eef30e6a2d2236f3f920
|
||||
ecc083de4d216847c184c72a639743bba6520d88
|
||||
|
@ -1,226 +1 @@
|
||||
[
|
||||
{
|
||||
"Timestamp": 41,
|
||||
"Event": {
|
||||
"Type": 1,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 0,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 0,
|
||||
"Bytes": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 1042,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 32,
|
||||
"Ch": 0,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "IA=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 1602,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 99,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "Yw=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2010,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 109,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "bQ=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2170,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 121,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "eQ=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2234,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 32,
|
||||
"Ch": 0,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "IA=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2354,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 99,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "Yw=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2410,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 111,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "bw=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2578,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 109,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "bQ=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2690,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 109,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "bQ=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2730,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 105,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "aQ=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2850,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 116,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "dA=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 2954,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 13,
|
||||
"Ch": 0,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "DQ=="
|
||||
}
|
||||
},
|
||||
{
|
||||
"Timestamp": 3625,
|
||||
"Event": {
|
||||
"Type": 0,
|
||||
"Mod": 0,
|
||||
"Key": 0,
|
||||
"Ch": 113,
|
||||
"Width": 0,
|
||||
"Height": 0,
|
||||
"Err": null,
|
||||
"MouseX": 0,
|
||||
"MouseY": 0,
|
||||
"N": 1,
|
||||
"Bytes": "cQ=="
|
||||
}
|
||||
}
|
||||
]
|
||||
{"KeyEvents":[{"Timestamp":9223372036854,"Mod":0,"Key":256,"Ch":32},{"Timestamp":9223372036854,"Mod":0,"Key":256,"Ch":99},{"Timestamp":9223372036854,"Mod":0,"Key":256,"Ch":99},{"Timestamp":9223372036854,"Mod":0,"Key":256,"Ch":111},{"Timestamp":9223372036854,"Mod":0,"Key":256,"Ch":109},{"Timestamp":9223372036854,"Mod":0,"Key":256,"Ch":109},{"Timestamp":9223372036854,"Mod":0,"Key":256,"Ch":105},{"Timestamp":9223372036854,"Mod":0,"Key":256,"Ch":116},{"Timestamp":9223372036854,"Mod":0,"Key":13,"Ch":13},{"Timestamp":9223372036854,"Mod":0,"Key":256,"Ch":113}]}
|
Reference in New Issue
Block a user