diff options
Diffstat (limited to 'tests/custom')
-rw-r--r-- | tests/custom/00_syntax/11_misc_literals | 2 | ||||
-rw-r--r-- | tests/custom/00_syntax/13_object_literals | 4 | ||||
-rw-r--r-- | tests/custom/00_syntax/14_array_literals | 4 | ||||
-rw-r--r-- | tests/custom/00_syntax/15_function_declarations | 2 | ||||
-rw-r--r-- | tests/custom/00_syntax/16_for_loop | 2 | ||||
-rw-r--r-- | tests/custom/00_syntax/17_while_loop | 2 | ||||
-rw-r--r-- | tests/custom/00_syntax/18_if_condition | 2 | ||||
-rw-r--r-- | tests/custom/00_syntax/19_arrow_functions | 2 | ||||
-rw-r--r-- | tests/custom/00_syntax/20_list_expressions | 2 | ||||
-rw-r--r-- | tests/custom/01_arithmetic/04_inc_dec | 2 | ||||
-rw-r--r-- | tests/custom/02_runtime/00_scoping | 2 | ||||
-rw-r--r-- | tests/custom/02_runtime/04_switch_case | 2 |
12 files changed, 14 insertions, 14 deletions
diff --git a/tests/custom/00_syntax/11_misc_literals b/tests/custom/00_syntax/11_misc_literals index 372741c..6340317 100644 --- a/tests/custom/00_syntax/11_misc_literals +++ b/tests/custom/00_syntax/11_misc_literals @@ -1,4 +1,4 @@ -The utpl script language features a number of keywords which represent +The ucode script language features a number of keywords which represent certain special values. -- Expect stdout -- diff --git a/tests/custom/00_syntax/13_object_literals b/tests/custom/00_syntax/13_object_literals index 5ceab43..ce35ecd 100644 --- a/tests/custom/00_syntax/13_object_literals +++ b/tests/custom/00_syntax/13_object_literals @@ -1,4 +1,4 @@ -The utpl script language supports declaring objects (dictionaries) using +The ucode script language supports declaring objects (dictionaries) using either JSON or JavaScript notation. -- Expect stdout -- @@ -52,7 +52,7 @@ either JSON or JavaScript notation. -- End -- -Additionally, utpl implements ES6-like spread operators to allow shallow copying +Additionally, ucode implements ES6-like spread operators to allow shallow copying of object properties into other objects. -- Expect stdout -- diff --git a/tests/custom/00_syntax/14_array_literals b/tests/custom/00_syntax/14_array_literals index 941ee4a..8651512 100644 --- a/tests/custom/00_syntax/14_array_literals +++ b/tests/custom/00_syntax/14_array_literals @@ -1,4 +1,4 @@ -The utpl script language supports declaring arrays using JSON notation. +The ucode script language supports declaring arrays using JSON notation. -- Expect stdout -- [ ] @@ -25,7 +25,7 @@ The utpl script language supports declaring arrays using JSON notation. -- End -- -Additionally, utpl implements ES6-like spread operators to allow shallow copying +Additionally, ucode implements ES6-like spread operators to allow shallow copying of array values into other arrays. -- Expect stdout -- diff --git a/tests/custom/00_syntax/15_function_declarations b/tests/custom/00_syntax/15_function_declarations index 4257dd6..41cef32 100644 --- a/tests/custom/00_syntax/15_function_declarations +++ b/tests/custom/00_syntax/15_function_declarations @@ -57,7 +57,7 @@ The function was called with arguments {{ a }} and {{ b }}. -- End -- -Additionally, utpl implements ES6-like "rest" argument syntax to declare +Additionally, ucode implements ES6-like "rest" argument syntax to declare variadic functions. -- Expect stdout -- diff --git a/tests/custom/00_syntax/16_for_loop b/tests/custom/00_syntax/16_for_loop index b206b07..36ebe39 100644 --- a/tests/custom/00_syntax/16_for_loop +++ b/tests/custom/00_syntax/16_for_loop @@ -3,7 +3,7 @@ consisting of an initialization expression, a test condition and a step expression and a for-in-loop variant which allows enumerating properties of objects or items of arrays. -Additionally, utpl supports an alternative syntax suitable for +Additionally, ucode supports an alternative syntax suitable for template block tags. diff --git a/tests/custom/00_syntax/17_while_loop b/tests/custom/00_syntax/17_while_loop index 1e68d6b..9cbf49a 100644 --- a/tests/custom/00_syntax/17_while_loop +++ b/tests/custom/00_syntax/17_while_loop @@ -1,4 +1,4 @@ -Utpl implements C-style while loops which run as long as the condition +Ucode implements C-style while loops which run as long as the condition is fulfilled. Like with for-loops, an alternative syntax form suitable for template diff --git a/tests/custom/00_syntax/18_if_condition b/tests/custom/00_syntax/18_if_condition index 9e02767..0dc47fb 100644 --- a/tests/custom/00_syntax/18_if_condition +++ b/tests/custom/00_syntax/18_if_condition @@ -1,4 +1,4 @@ -Utpl implements C-style if/else conditions and ?: ternary statements. +Ucode implements C-style if/else conditions and ?: ternary statements. Like with for- and while-loops, an alternative syntax form suitable for template blocks is supported. diff --git a/tests/custom/00_syntax/19_arrow_functions b/tests/custom/00_syntax/19_arrow_functions index 102c527..8dcce6c 100644 --- a/tests/custom/00_syntax/19_arrow_functions +++ b/tests/custom/00_syntax/19_arrow_functions @@ -1,4 +1,4 @@ -Besides the ordinary ES5-like function declarations, utpl supports ES6 inspired +Besides the ordinary ES5-like function declarations, ucode supports ES6 inspired arrow function syntax as well. Such arrow functions are useful for callbacks to functions such as replace(), map() or filter(). -- Expect stdout -- diff --git a/tests/custom/00_syntax/20_list_expressions b/tests/custom/00_syntax/20_list_expressions index d5ba459..4662cb9 100644 --- a/tests/custom/00_syntax/20_list_expressions +++ b/tests/custom/00_syntax/20_list_expressions @@ -1,4 +1,4 @@ -Similar to ES5, utpl's language grammar allows comma separated list expressions +Similar to ES5, ucode's language grammar allows comma separated list expressions in various contexts. Unless such lists happen to be part of a function call or array construction expression, only the last result of such an expression list should be used while still evaluating all sub-expressions, triggering diff --git a/tests/custom/01_arithmetic/04_inc_dec b/tests/custom/01_arithmetic/04_inc_dec index ae50ceb..7b7fe7b 100644 --- a/tests/custom/01_arithmetic/04_inc_dec +++ b/tests/custom/01_arithmetic/04_inc_dec @@ -1,4 +1,4 @@ -Utpl implements C-style pre- and postfix increment and decrement operators. +Ucode implements C-style pre- and postfix increment and decrement operators. Pre-increment or -decrement operations first mutate the value and then return the resulting value while post-increment or -decrement operations first return diff --git a/tests/custom/02_runtime/00_scoping b/tests/custom/02_runtime/00_scoping index 5fadf43..6c3ce14 100644 --- a/tests/custom/02_runtime/00_scoping +++ b/tests/custom/02_runtime/00_scoping @@ -1,4 +1,4 @@ -Utpl implements function scoping, make sure that let variables are +Ucode implements function scoping, make sure that let variables are invisible outside of the function scope. -- Expect stdout -- diff --git a/tests/custom/02_runtime/04_switch_case b/tests/custom/02_runtime/04_switch_case index 4c1fc57..9c0c637 100644 --- a/tests/custom/02_runtime/04_switch_case +++ b/tests/custom/02_runtime/04_switch_case @@ -1,4 +1,4 @@ -Testing utpl switch statements. +Testing ucode switch statements. 1. Ensure that execution starts at the first matching case. |