From b97d603cd00a210547bda1a2a1c3e09f97fcc49e Mon Sep 17 00:00:00 2001 From: metagn Date: Tue, 6 Jun 2023 07:54:07 +0300 Subject: 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 --- tests/actiontable/tactiontable.nim | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 tests/actiontable/tactiontable.nim (limited to 'tests/actiontable') 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") -- cgit 1.4.1-2-gfad0