Skip to content

Commit

Permalink
Added basic Perl test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistos committed Aug 3, 2010
1 parent 932969c commit 0e9370d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/basic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
results.should.equal %{text on stdout\n}
end

it 'can submit Perl code and receive stdout' do
paste_id = Ideone.submit( :perl, %{print "text on stdout\\n"} )
results = Ideone.run( paste_id, nil )
results.should.equal %{text on stdout\n}
end

it 'can submit Python code and receive stdout' do
paste_id = Ideone.submit( :python, %{print "text on stdout"} )
results = Ideone.run( paste_id, nil )
Expand Down

0 comments on commit 0e9370d

Please sign in to comment.