Skip to content

Commit

Permalink
fix: fix failing test in 0.45 (cosmos#14741)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt authored Jan 23, 2023
1 parent 6ab492c commit 82ce891
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion store/streaming/file/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ func TestFileStreamingService(t *testing.T) {
defer os.RemoveAll(testDir)

testKeys := []types.StoreKey{mockStoreKey1, mockStoreKey2}
testStreamingService, err := NewStreamingService(testDir, testPrefix, testKeys, testMarshaller, true, false, false)
var err error
testStreamingService, err = NewStreamingService(testDir, testPrefix, testKeys, testMarshaller, true, false, false)
require.Nil(t, err)
require.IsType(t, &StreamingService{}, testStreamingService)
require.Equal(t, testPrefix, testStreamingService.filePrefix)
Expand Down

0 comments on commit 82ce891

Please sign in to comment.