distbuild/pkg/api/build_test.go TestBuildRunning - fix order in require.Equal

This commit is contained in:
gentoonofb 2021-05-05 10:53:18 +00:00 committed by Arseny Balobanov
parent c84520b9bc
commit af913775b6

View file

@ -128,7 +128,7 @@ func TestBuildRunning(t *testing.T) {
require.Contains(t, u.BuildFailed.Error, "foo bar error")
_, err = r.Next()
require.Equal(t, err, io.EOF)
require.Equal(t, io.EOF, err)
}
func TestBuildResultsStreaming(t *testing.T) {