mirror of
https://github.com/michaeldv/pit.git
synced 2025-12-10 08:25:34 +00:00
17 lines
328 B
Ruby
17 lines
328 B
Ruby
module Pit
|
|
module Note
|
|
def should_not_segfault
|
|
`#{@pit} p -c test`
|
|
`#{@pit} t -c test`
|
|
10.times do |i|
|
|
`#{@pit} n -c note#{i+1}`
|
|
end
|
|
5.times do |i|
|
|
`#{@pit} n -d #{i+1}`
|
|
end
|
|
`#{@pit} n -c note11`
|
|
`#{@pit} l`.should.match /created note 11/m
|
|
end
|
|
end
|
|
end
|