Fix linter
This commit is contained in:
parent
a0bc8b1af8
commit
24a754d34a
3 changed files with 5 additions and 4 deletions
4
.github/workflows/ios.yml
vendored
4
.github/workflows/ios.yml
vendored
|
|
@ -12,10 +12,10 @@ jobs:
|
|||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Set up xcode 13.0
|
||||
- name: Set up xcode 12.2
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: 13.0
|
||||
xcode-version: 12.2
|
||||
id: xcode
|
||||
|
||||
- name: Set up Go 1.x
|
||||
|
|
|
|||
|
|
@ -42,3 +42,5 @@ linters:
|
|||
- nilerr # Force return err when not nil
|
||||
- wrapcheck # Force wrapping of external error TODO: when the bug is fixed update the linter
|
||||
- gomoddirectives # Prohibits the use of replace statements
|
||||
- varnamelen # Forbids short var names
|
||||
- ireturn # Prevents returning interfaces
|
||||
|
|
@ -214,7 +214,6 @@ func TestIssue11(t *testing.T) {
|
|||
assert.Exactly(t, "message from sender", plainMessage.GetString())
|
||||
}
|
||||
|
||||
|
||||
func TestDummy(t *testing.T) {
|
||||
pgp.latestServerTime = 1636644417
|
||||
defer func() { pgp.latestServerTime = testTime }()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue