mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-24 15:55:17 -04:00
Rebase fixes
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
63d938d9a4
commit
1d5af5f0f4
12 changed files with 197 additions and 116 deletions
|
@ -9,7 +9,6 @@ package measurements
|
|||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"net/http"
|
||||
"net/url"
|
||||
|
@ -188,7 +187,6 @@ func TestUnmarshal(t *testing.T) {
|
|||
err := json.Unmarshal([]byte(tc.inputJSON), &m)
|
||||
|
||||
if tc.wantErr {
|
||||
fmt.Println(err)
|
||||
assert.Error(err, "json.Unmarshal should have failed")
|
||||
} else {
|
||||
require.NoError(err, "json.Unmarshal failed")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue