mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-26 16:03:10 +03:00
working on integration tests working again
This commit is contained in:
@@ -197,9 +197,15 @@ func Test() error {
|
|||||||
record := os.Getenv("RECORD_EVENTS") != ""
|
record := os.Getenv("RECORD_EVENTS") != ""
|
||||||
updateSnapshots := record || os.Getenv("UPDATE_SNAPSHOTS") != ""
|
updateSnapshots := record || os.Getenv("UPDATE_SNAPSHOTS") != ""
|
||||||
|
|
||||||
for _, test := range tests[0:1] {
|
selectedTestName := os.Args[1]
|
||||||
|
|
||||||
|
for _, test := range tests {
|
||||||
test := test
|
test := test
|
||||||
|
|
||||||
|
if selectedTestName != "" && test.Name != selectedTestName {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
speeds := getTestSpeeds(test.Speed, updateSnapshots)
|
speeds := getTestSpeeds(test.Speed, updateSnapshots)
|
||||||
|
|
||||||
for i, speed := range speeds {
|
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
|
0000000000000000000000000000000000000000 55bf9e2babc63fb5bae4b42c79fb1ddd1f4205fa CI <CI@example.com> 1617579407 +1000 commit (initial): myfile1
|
||||||
f4473317f8385f84b8054f3e9e9895870aa339bb 60100545975af038486a0265a786b78c090faa4c CI <CI@example.com> 1601981250 +1100 commit: myfile2
|
55bf9e2babc63fb5bae4b42c79fb1ddd1f4205fa e68c1143545a09cac1db6e6f20db13b82b5dc43e CI <CI@example.com> 1617579407 +1000 commit: myfile2
|
||||||
60100545975af038486a0265a786b78c090faa4c 7c8c3a30f773b8d25cf9b5f5eccfe1b4cf823069 CI <CI@example.com> 1601981250 +1100 commit: myfile3
|
e68c1143545a09cac1db6e6f20db13b82b5dc43e ba001a041f64109b238f03550d6a21209bd5d4fc CI <CI@example.com> 1617579407 +1000 commit: myfile3
|
||||||
7c8c3a30f773b8d25cf9b5f5eccfe1b4cf823069 dcb4d7ccb176a17a6ddc2e1a402a28f055947393 CI <CI@example.com> 1601981250 +1100 commit: myfile4
|
ba001a041f64109b238f03550d6a21209bd5d4fc 6f31cc35ebabdf3fb71759e3d267677e712f737f CI <CI@example.com> 1617579407 +1000 commit: myfile4
|
||||||
dcb4d7ccb176a17a6ddc2e1a402a28f055947393 459260de735f85c64517eef30e6a2d2236f3f920 CI <CI@example.com> 1601981254 +1100 commit: my commit
|
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
|
0000000000000000000000000000000000000000 55bf9e2babc63fb5bae4b42c79fb1ddd1f4205fa CI <CI@example.com> 1617579407 +1000 commit (initial): myfile1
|
||||||
f4473317f8385f84b8054f3e9e9895870aa339bb 60100545975af038486a0265a786b78c090faa4c CI <CI@example.com> 1601981250 +1100 commit: myfile2
|
55bf9e2babc63fb5bae4b42c79fb1ddd1f4205fa e68c1143545a09cac1db6e6f20db13b82b5dc43e CI <CI@example.com> 1617579407 +1000 commit: myfile2
|
||||||
60100545975af038486a0265a786b78c090faa4c 7c8c3a30f773b8d25cf9b5f5eccfe1b4cf823069 CI <CI@example.com> 1601981250 +1100 commit: myfile3
|
e68c1143545a09cac1db6e6f20db13b82b5dc43e ba001a041f64109b238f03550d6a21209bd5d4fc CI <CI@example.com> 1617579407 +1000 commit: myfile3
|
||||||
7c8c3a30f773b8d25cf9b5f5eccfe1b4cf823069 dcb4d7ccb176a17a6ddc2e1a402a28f055947393 CI <CI@example.com> 1601981250 +1100 commit: myfile4
|
ba001a041f64109b238f03550d6a21209bd5d4fc 6f31cc35ebabdf3fb71759e3d267677e712f737f CI <CI@example.com> 1617579407 +1000 commit: myfile4
|
||||||
dcb4d7ccb176a17a6ddc2e1a402a28f055947393 459260de735f85c64517eef30e6a2d2236f3f920 CI <CI@example.com> 1601981254 +1100 commit: my commit
|
6f31cc35ebabdf3fb71759e3d267677e712f737f ecc083de4d216847c184c72a639743bba6520d88 CI <CI@example.com> 1617579409 +1000 commit: commit
|
||||||
|
|||||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
x<01><>A
|
||||||
|
<EFBFBD>0@Ѯs<D1AE><73>ʌ'J\y<><79>L<EFBFBD><4C><EFBFBD>")<29><><EFBFBD>#t<>y<EFBFBD>S5[˥<><CBA5><EFBFBD>*<2A>`<60><>2<>R<EFBFBD><1C><>T</|<7C><>%<25><>s<EFBFBD><73>^u<>i<EFBFBD><69>4<EFBFBD><34><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=<3D><>|<7C>FWBDw<44>s<EFBFBD><73>O<EFBFBD><4F>W<EFBFBD>M<EFBFBD>3<>,<2C>
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
x<01><>M
|
|
||||||
<EFBFBD>0@a<>9E<39><45><EFBFBD>d<EFBFBD>7 "t<>c$<24><16>-%<25><><EFBFBD><1E><><EFBFBD>[<5B>imm<6D>ٟ<>.bK"<22>%<25><><<3C>(G<><47>Z#<23><>b<EFBFBD><62><EFBFBD><EFBFBD><EFBFBD>c4[<5B><>խz<D5AD><7A>0i<30>4<><34>!x%a<><61>!'(<28><>k5<6B><35><1F>n<EFBFBD><6E>^<5E><>.<2E>Ҷ<EFBFBD>\<5C><><EFBFBD>,F@<40><><02>3"<22>9<EFBFBD>1<EFBFBD><31>On<4F>W<EFBFBD><57>8<EFBFBD>v<>9w
|
|
||||||
Binary file not shown.
@@ -1,2 +0,0 @@
|
|||||||
x<01><>M
|
|
||||||
<EFBFBD>0F]<5D><14>2<><32>M@D<><44>ǘN3X0<58><30>z{sW<<1E>O<EFBFBD>Z<EFBFBD>f1<66>S;J<>Ì<EFBFBD> E\<5C>;<3B><><EFBFBD>*/<2F><>@hv8H<38>+<2B><>|<7C>W<EFBFBD> <20><>S`G<>"<22>'<27>s"<22><0C><><EFBFBD><EFBFBD><EFBFBD>=<3D>Î<EFBFBD><C38E><EFBFBD>ӽ|<7C><><EFBFBD>r<EFBFBD><72><EFBFBD>,<2C>H&<02>3<EFBFBD><33>鴟j<E9B49F>O<EFBFBD>ԯ<EFBFBD><D4AF><EFBFBD><EFBFBD><0F><>9<EFBFBD>
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
x<01><>A
|
||||||
|
1<0C>a<EFBFBD>=E<><45>4M<34><4D> "<22>j<EFBFBD><6A><EFBFBD>)
|
||||||
|
<EFBFBD><19>
|
||||||
|
<1E>.<<3C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>kk<6B><18><>wU +<2B><><EFBFBD>k<>L<EFBFBD>O<EFBFBD>:Q<>5<EFBFBD>+<2B><>O<><4F>l<EFBFBD><6C><EFBFBD>C<EFBFBD><43>9ӤIR<49>4<14><14><><1C><><EFBFBD>U&<26>F<EFBFBD><46><EFBFBD><EFBFBD>0/p<><70><EFBFBD>~<7E>mO=<3D><>]<01><>p<EFBFBD>6<EFBFBD><11><>f<EFBFBD>#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>e);a
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
459260de735f85c64517eef30e6a2d2236f3f920
|
ecc083de4d216847c184c72a639743bba6520d88
|
||||||
|
|||||||
@@ -1,226 +1 @@
|
|||||||
[
|
{"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}]}
|
||||||
{
|
|
||||||
"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=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
Reference in New Issue
Block a user