File: stdlib.liq

package info (click to toggle)
liquidsoap 2.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,912 kB
  • sloc: ml: 67,867; javascript: 24,842; ansic: 273; xml: 114; sh: 96; 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)