~ubuntu-branches/ubuntu/vivid/nqp/vivid-proposed

« back to all changes in this revision

Viewing changes to examples/rubyish/t/rubyish-4-tests.t

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2013-11-01 12:09:18 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20131101120918-kx51sl0sxl3exsxi
Tags: 2013.10-1
* New upstream release
* Bump versioned (Build-)Depends on parrot
* Update patches
* Install new README.pod
* Fix vcs-field-not-canonical
* Do not install rubyish examples
* Do not Depends on parrot-devel anymore
* Add 07_disable-serialization-tests.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
puts "1..5"
 
2
 
 
3
a = "ok 1"
 
4
puts a
 
5
 
 
6
ifb = "nok 1"
 
7
ifb = "ok 2"
 
8
puts ifb
 
9
 
 
10
def pass_a_test
 
11
    puts "ok 3"
 
12
end
 
13
pass_a_test()
 
14
 
 
15
def pass_another(test)
 
16
    puts test
 
17
end
 
18
pass_another("ok 4")
 
19
 
 
20
class Tester
 
21
    def test
 
22
        puts "ok 5"
 
23
    end
 
24
end
 
25
t = new Tester()
 
26
t.test()