it 'prints error message when table is full' do
script = (1..1401).map do |i|
"insert #{i} user#{i} person#{i}@example.com"
end
script << ".exit"
result = run_script(script)
expect(result[-2]).to eq('db > Error: Table full.')
end
Testing of the above code runs successfully after applying the following changes:
Testing of the above code runs successfully after applying the following changes: