- reverse actual and expected values - use assert.False, assert.True - use assert.Len, assert.Emtpy - use require.Error, require.NoError - use assert.InDelta |
||
---|---|---|
.. | ||
test_files | ||
journalctl.go | ||
journalctl_test.go |
- reverse actual and expected values - use assert.False, assert.True - use assert.Len, assert.Emtpy - use require.Error, require.NoError - use assert.InDelta |
||
---|---|---|
.. | ||
test_files | ||
journalctl.go | ||
journalctl_test.go |