Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
spacez320 committed Dec 7, 2023
1 parent 178a036 commit e9a806d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/storage/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ func testStorage() Results {
testTime, _ := time.Parse(time.ANSIC, time.Stamp)

return Results{
result{
Result{
Time: testTime,
Value: "foo",
Values: nil,
},
result{
Result{
Time: testTime.Add(time.Second * 30),
Value: "bar",
Values: nil,
Expand All @@ -39,7 +39,7 @@ func TestGet(t *testing.T) {

// It gets no results if a time does not match.
got = results.Get(testTime.Add(time.Second * 15))
expected = result{}
expected = Result{}
if !reflect.DeepEqual(got, expected) {
t.Errorf("Got: %v Expected: %v\n", got, expected)
}
Expand Down

0 comments on commit e9a806d

Please sign in to comment.