mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-06 10:21:05 +02:00
remove source, remove deadcode, fix linting issues
This commit is contained in:
parent
681cf6fa27
commit
9fe4361d85
116 changed files with 404 additions and 535 deletions
|
@ -13,14 +13,14 @@ func TestMockEncoder(t *testing.T) {
|
|||
UnmarshalError: e,
|
||||
}
|
||||
s, err := mc.Marshal("test")
|
||||
if err != e {
|
||||
if errors.Is(err, e) {
|
||||
t.Error("unexpected Marshal error")
|
||||
}
|
||||
if string(s) != "MarshalResponse" {
|
||||
t.Error("unexpected MarshalResponse error")
|
||||
}
|
||||
err = mc.Unmarshal([]byte("s"), "s")
|
||||
if err != e {
|
||||
if errors.Is(err, e) {
|
||||
t.Error("unexpected Unmarshal error")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue