Instead of explicitly checking errors / nil values and calling `t.Fatal()`, just use `require.NoError()` or `require.NotNil()`. No functional changes. The wording of test failures will be slightly different though.
boolean
smallint
testing.T
assert.NoError()
require.NoError()