File: stdlib.liq

package info (click to toggle)
liquidsoap 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,372 kB
  • sloc: ml: 71,806; javascript: 27,320; ansic: 398; xml: 114; sh: 99; lisp: 96; makefile: 26
file content (11 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
def f() =
  test.equal(environment.get("BLAXXX"), "")
  test.equal(file.is_directory("/"), true)
  test.equal(file.is_directory("~"), true)
  test.equal(file.is_directory("XXX"), false)
  test.equal(liquidsoap.version.at_least("2.0.0"), true)
  test.equal(liquidsoap.version.at_least("666.0.0"), false)
  test.pass()
end

test.check(f)