OxL Reference

tests/greet_test.oxl

oxl
use super.greet { greeting }

test "a name is greeted" {
  assert_eq(greeting("Ann"), "Hello, Ann!")
}

test "an empty name greets the world" {
  assert_eq(greeting(""), "Hello, world!")
}

Source: examples/hello/tests/greet_test.oxl