File: rubyish-3-tests.t

package info (click to toggle)
nqp 2016.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,960 kB
  • ctags: 3,884
  • sloc: java: 25,027; perl: 910; makefile: 12; sh: 2
file content (18 lines) | stat: -rw-r--r-- 176 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
puts "1..4"

a = "ok 1"
puts a

b = "nok 1"
b = "ok 2"
puts b

def pass_a_test
    puts "ok 3"
end
pass_a_test()

def pass_another(test)
    puts test
end
pass_another("ok 4")