diff options
author | metagn <metagngn@gmail.com> | 2023-06-06 07:54:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 06:54:07 +0200 |
commit | b97d603cd00a210547bda1a2a1c3e09f97fcc49e (patch) | |
tree | 080b4ad7b5826b88a9483c6a0e4d697096f12cc1 /tests/actiontable | |
parent | 2ab948ce53e3d9b80bf9b02644c8ec8991f34d0a (diff) | |
download | Nim-b97d603cd00a210547bda1a2a1c3e09f97fcc49e.tar.gz |
some test cleanups & category reorganization (#22010)
* clean up some test categories * mention exact slice issue * magics into system * move trangechecks into overflow * move tmemory to system * try fix CI * try fix CI * final CI fix
Diffstat (limited to 'tests/actiontable')
-rw-r--r-- | tests/actiontable/tactiontable.nim | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/actiontable/tactiontable.nim b/tests/actiontable/tactiontable.nim deleted file mode 100644 index 3f15a70bd..000000000 --- a/tests/actiontable/tactiontable.nim +++ /dev/null @@ -1,37 +0,0 @@ -discard """ - output: ''' -action 3 arg -action 3 arg -''' -""" - -import tables - -proc action1(arg: string) = - echo "action 1 ", arg - -proc action2(arg: string) = - echo "action 2 ", arg - -proc action3(arg: string) = - echo "action 3 ", arg - -proc action4(arg: string) = - echo "action 4 ", arg - -var - actionTable1 = { - "A": action1, - "B": action2, - "C": action3, - "D": action4}.toTable - -const - actionTable2 = { - "A": action1, - "B": action2, - "C": action3, - "D": action4}.toTable - -actionTable1["C"]("arg") -actionTable2["C"]("arg") |