-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_comments.lang
More file actions
49 lines (36 loc) · 910 Bytes
/
test_comments.lang
File metadata and controls
49 lines (36 loc) · 910 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
lang.name = Lang Tests (Comments)
lang.version = v1.0.0
lang.test = 1
# Tests
fn.testUnit(Comments)
{
fn.testSubUnit(Comment)
$v = #
fn.testAssertNull($v)
$v = \\#
fn.testAssertStrictEquals($v, \\)
$v = \\\\#
fn.testAssertStrictEquals($v, {{{\\}}})
$v = \\\\\\#
fn.testAssertStrictEquals($v, {{{\\\}}})
}
{
fn.testSubUnit(No Comment)
$v = \#
fn.testAssertStrictEquals($v, \#)
$v = \\\#
fn.testAssertStrictEquals($v, {{{\#}}})
$v = \\\\\#
fn.testAssertStrictEquals($v, {{{\\#}}})
$v = \\\\\\\#
fn.testAssertStrictEquals($v, {{{\\\#}}})
}
{
fn.testSubUnit(Comment with multiline text)
$v = # """comment with {{{ and end"""
fn.testAssertNull($v)
$v = # """comment with }}} and end"""
fn.testAssertNull($v)
$v = # {{{comment with """ and end}}}
fn.testAssertNull($v)
}